[Progress:] Completely re-done Block class to not use bitsets, and provide custom operators.

This commit is contained in:
Leonetienne
2022-05-24 01:02:06 +02:00
parent ed45b69342
commit 939df4731b
11 changed files with 619 additions and 191 deletions

View File

@@ -67,7 +67,7 @@ namespace Leonetienne::GCrypt {
void Key::WriteToFile(const std::string& path) {
// Transform key to bytes
const std::string keybytes = BitsToBytes(to_string());
const std::string keybytes = BitsToBytes(ToString());
// Create an ofilestream
std::ofstream ofs(path, std::ios::out | std::ios::binary);