Crypt::RandomEncryption - Use to generate random encrypted code. And even can decrypt the same.
use Crypt::RandomEncryption; my $rp=new Crypt::RandomEncryption; my $text="Hello World 123"; #this is the text to encrypt my $key="secret"; #this is the secret key my $level=5; #this is the depth of encryption my $e=$rp->encrypt($text, $key, $level); print "$e\n"; my $d=$rp->decrypt($e, $key, $level); print "$d\n";
This module generate random encrypted code. And can decrypt the code using same key and level.
Here, level define the depth of encryption(minimum is 0). Depth of encryption is directly proportional to length of encryption code and delay in generation the code.
This, module is written above RC4 algorithm.
To know more on RC4 algorithm see, http://en.wikipedia.org/wiki/RC4 .
Vipin Singh, <qwer@cpan.org<gt>
Copyright (C) 2013 by Vipin Singh
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install Crypt::RandomEncryption, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::RandomEncryption
CPAN shell
perl -MCPAN -e shell install Crypt::RandomEncryption
For more information on module installation, please visit the detailed CPAN module installation guide.