Fix delete

This commit is contained in:
Nikola Petrov
2023-08-26 17:20:45 +02:00
parent 6e3bd954e5
commit 29cfc93580
5 changed files with 32 additions and 40 deletions

View File

@@ -1,8 +1,6 @@
#pragma once
#include <fstream>
constexpr auto MAX_STRING_SIZE = 15;
class Buffer;
struct Pass
@@ -38,7 +36,7 @@ void add_password_to_buffer(Buffer& in, const char* label, const char* password)
const char* get_password_from_buffer(Buffer& decrypted_buffer, int label);
void generate_password(std::string& password);
void generate_password(std::string& password, int len);
bool save_buffer_to_file(Buffer& buffer);