[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 41dc2ef65e
commit 30a57caadc
11 changed files with 619 additions and 191 deletions
+1 -1
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);