I am looking for some simple encrypt and decrypt commands (using something secure like aes 256). A template would be nice.
<type> *encrypt(&string, &password) and <type> *decrypt(&string, &password).
Can you advice me some library?
Printable View
I am looking for some simple encrypt and decrypt commands (using something secure like aes 256). A template would be nice.
<type> *encrypt(&string, &password) and <type> *decrypt(&string, &password).
Can you advice me some library?
http://www.cryptopp.com/docs/ref/index.html it looks quite good.
But I don`t know really what I can use to encrypt a simple string.
I want encrypt a string with a password and save it to disk. If the disk gets stolen then no one may decrypt this without a computer centre and bruteforce. Later it may be decrypted with the right password. The length of the password (20 chars +) doesn`t matter but it should be also just a string. That`s basically all I want to do.
Just symmetric encryption, no complicated public key encryption.
Any advice in which class I should start looking?
Them are hashs, won`t work for this situation.