Add README.md and Flags: -s -c
This commit is contained in:
@@ -13,12 +13,11 @@ public:
|
||||
~Cryptography();
|
||||
bool encrypt(Buffer* plain, Buffer* encrypted);
|
||||
bool decrypt(Buffer* encrypted, Buffer* decrypted);
|
||||
bool generate_key_and_iv_from_password(const char* password, size_t size);
|
||||
|
||||
private:
|
||||
uint8_t key[32] = { 0 };
|
||||
uint8_t iv[16] = { 0 };
|
||||
EVP_CIPHER_CTX* ctx = nullptr;
|
||||
|
||||
bool generate_key_and_iv_from_password(const char* password, size_t size);
|
||||
bool handleErrors();
|
||||
};
|
||||
|
@@ -20,6 +20,8 @@ enum class Args
|
||||
Delete, // delete password for label
|
||||
Print_all_p, // print all passwords
|
||||
Input, // input password for label
|
||||
Change, // change main password
|
||||
Show, // show password for label
|
||||
Error // error
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user