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

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -