Re: Encrypted Glib::ustring(s)



On 22.11.2011 21:55, Glus Xof wrote:

> enum METHOD
> {
> 	Glib::ENCRYPT_AES256
> 	Glib::ENCRYPT_AES128
> 	[...]
> };
> 
> Glib::ustring::encrypt (ENCRYPT_METHOD method, Glib::ustring passphrase);
> Glib::ustring::decrypt (ENCRYPT_METHOD method, Glib::ustring passphrase);

Hello,

  encryption is a complex topic and therefore it does not make sense
implementing it into an already extensive string class. What about modes
and key derivation?

There is a public domain library named Crypto++ [1], which implements
cryptographic functions. Maybe it helps you.

[1] http://www.cryptopp.com/

Regards,

  Martin

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]