Catalyst::Plugin::Crypt::CBCCatalyst::Plugin::Crypt::CBC is a Crypt::CBC plugin for Catalyst. | |
Download |
Catalyst::Plugin::Crypt::CBC Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kazuma Shiraiwa
- Publisher web site:
- http://search.cpan.org/~shiraiwa/Catalyst-Plugin-Crypt-CBC-0.01/lib/Catalyst/Plugin/Crypt/CBC.pm
Catalyst::Plugin::Crypt::CBC Tags
Catalyst::Plugin::Crypt::CBC Description
Catalyst::Plugin::Crypt::CBC is a Crypt::CBC plugin for Catalyst. Catalyst::Plugin::Crypt::CBC is a Crypt::CBC plugin for Catalyst.SYNOPSIS use Catalyst qw/Crypt::CBC/; # Set option - sample MyApp->config->{crypt_cbc} = { key => 'my secret key', cipher => 'Blowfish', # this sample need Crypt::Blowfish } # Set option - anothor sample MyApp->config->{crypt_cbc} = { key => 'my secret key', cipher => 'Blowfish', iv => '$KJh#(}q', regenerate_key => 0, padding => 'space', prepend_iv => 0, } # Use Crypt::CBC objects within your Catalyst app: my $crypt = $c->crypt_cbc(); # will return a Crypt::CBC object my $plaintext = 'Hello'; my $ciphertext = $crypt->encrypt_hex($plaintext); #53616c7465645f5fa42e58c38281a94fe591200d18dc335f my $return_plain_text = $crypt->decrypt_hex($ciphertext); #Hello # Example when Catalyst::View::TT < a href="uri?id=">user_name< /a > Requirements: · Perl
Catalyst::Plugin::Crypt::CBC Related Software