-
Notifications
You must be signed in to change notification settings - Fork 22
Cryptobox
etcimon edited this page Dec 4, 2014
·
2 revisions
This is a set of simple routines that encrypt some data using a
passphrase. There are defined in the header botan.constructs.cryptobox
.
string encrypt(in ubyte* input, size_t input_len,
in string passphrase,
RandomNumberGenerator rng);
Encrypt the contents using passphrase
.
string decrypt(in ubyte* input, size_t input_len, in string passphrase);
string decrypt(in string input, in string passphrase);
Decrypts something encrypted with encrypt.