|P is for Practical|
Decent crypto library?by vsespb (Chaplain)
|on Oct 28, 2013 at 14:09 UTC||Need Help??|
vsespb has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to find library to encrypt/decrypt AES 128/192/256 CBC (with ability to provide custom IV)
So far I benchmarked Crypt::CBC with Crypt::OpenSSL::AES Crypt::Rijndael and Crypt::Cipher::AES. It's 30 times slower than command-line openssl call ( I tested 100Mb file)
Seems those modules were not pure perl, because when I tried Crypt::Rijndael_PP it did not finish withing minute or more and I terminated benchmark.
I think I tried another couple of Crypt::CBC compatible modules, but they did not work at all for my mode
I tried Crypt::GCrypt - it's 3 times slower than openssl cli
So, I am looking for list of modules which can compete with openssl command line tool.