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

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to