perl - Using GOST with Crypt::CBC -
i want use gost encryption algorithm in perl. tried using rc4 , blowfish , ok, i'd rather use gost , elijah aren't supported crypt::cbc. how can use crypt::cbc interface encryption , decryption gost?
you can pass cipher-object when create crypt::cbc
-object. install crypt::gost
cpan , use there.
this works here:
#!/usr/bin/perl use strict; use warnings; use crypt::cbc; $cipher = crypt::cbc->new(-key => 'test', -cipher => 'gost');
Comments
Post a Comment