CryptX-0.015
Karel Miko
10 years ago
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::[%orig_name%] qw( [%lc_name%] [%lc_name%]_hex [%lc_name%]_b64 [%lc_name%]_b64u
|
41 | |
[%lc_name%]_file [%lc_name%]_file_hex [%lc_name%]_file_b64 [%lc_name%]_file_b64u );
|
|
41 |
[%lc_name%]_file [%lc_name%]_file_hex [%lc_name%]_file_b64 [%lc_name%]_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$[%lc_name%]_raw = [%lc_name%]('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::CHAES qw( chaes chaes_hex chaes_b64 chaes_b64u
|
41 | |
chaes_file chaes_file_hex chaes_file_b64 chaes_file_b64u );
|
|
41 |
chaes_file chaes_file_hex chaes_file_b64 chaes_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$chaes_raw = chaes('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::MD2 qw( md2 md2_hex md2_b64 md2_b64u
|
41 | |
md2_file md2_file_hex md2_file_b64 md2_file_b64u );
|
|
41 |
md2_file md2_file_hex md2_file_b64 md2_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$md2_raw = md2('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::MD4 qw( md4 md4_hex md4_b64 md4_b64u
|
41 | |
md4_file md4_file_hex md4_file_b64 md4_file_b64u );
|
|
41 |
md4_file md4_file_hex md4_file_b64 md4_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$md4_raw = md4('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::MD5 qw( md5 md5_hex md5_b64 md5_b64u
|
41 | |
md5_file md5_file_hex md5_file_b64 md5_file_b64u );
|
|
41 |
md5_file md5_file_hex md5_file_b64 md5_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$md5_raw = md5('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::RIPEMD128 qw( ripemd128 ripemd128_hex ripemd128_b64 ripemd128_b64u
|
41 | |
ripemd128_file ripemd128_file_hex ripemd128_file_b64 ripemd128_file_b64u );
|
|
41 |
ripemd128_file ripemd128_file_hex ripemd128_file_b64 ripemd128_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$ripemd128_raw = ripemd128('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::RIPEMD160 qw( ripemd160 ripemd160_hex ripemd160_b64 ripemd160_b64u
|
41 | |
ripemd160_file ripemd160_file_hex ripemd160_file_b64 ripemd160_file_b64u );
|
|
41 |
ripemd160_file ripemd160_file_hex ripemd160_file_b64 ripemd160_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$ripemd160_raw = ripemd160('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::RIPEMD256 qw( ripemd256 ripemd256_hex ripemd256_b64 ripemd256_b64u
|
41 | |
ripemd256_file ripemd256_file_hex ripemd256_file_b64 ripemd256_file_b64u );
|
|
41 |
ripemd256_file ripemd256_file_hex ripemd256_file_b64 ripemd256_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$ripemd256_raw = ripemd256('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::RIPEMD320 qw( ripemd320 ripemd320_hex ripemd320_b64 ripemd320_b64u
|
41 | |
ripemd320_file ripemd320_file_hex ripemd320_file_b64 ripemd320_file_b64u );
|
|
41 |
ripemd320_file ripemd320_file_hex ripemd320_file_b64 ripemd320_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$ripemd320_raw = ripemd320('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::SHA1 qw( sha1 sha1_hex sha1_b64 sha1_b64u
|
41 | |
sha1_file sha1_file_hex sha1_file_b64 sha1_file_b64u );
|
|
41 |
sha1_file sha1_file_hex sha1_file_b64 sha1_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$sha1_raw = sha1('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::SHA224 qw( sha224 sha224_hex sha224_b64 sha224_b64u
|
41 | |
sha224_file sha224_file_hex sha224_file_b64 sha224_file_b64u );
|
|
41 |
sha224_file sha224_file_hex sha224_file_b64 sha224_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$sha224_raw = sha224('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::SHA256 qw( sha256 sha256_hex sha256_b64 sha256_b64u
|
41 | |
sha256_file sha256_file_hex sha256_file_b64 sha256_file_b64u );
|
|
41 |
sha256_file sha256_file_hex sha256_file_b64 sha256_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$sha256_raw = sha256('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::SHA384 qw( sha384 sha384_hex sha384_b64 sha384_b64u
|
41 | |
sha384_file sha384_file_hex sha384_file_b64 sha384_file_b64u );
|
|
41 |
sha384_file sha384_file_hex sha384_file_b64 sha384_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$sha384_raw = sha384('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::SHA512 qw( sha512 sha512_hex sha512_b64 sha512_b64u
|
41 | |
sha512_file sha512_file_hex sha512_file_b64 sha512_file_b64u );
|
|
41 |
sha512_file sha512_file_hex sha512_file_b64 sha512_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$sha512_raw = sha512('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::Tiger192 qw( tiger192 tiger192_hex tiger192_b64 tiger192_b64u
|
41 | |
tiger192_file tiger192_file_hex tiger192_file_b64 tiger192_file_b64u );
|
|
41 |
tiger192_file tiger192_file_hex tiger192_file_b64 tiger192_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$tiger192_raw = tiger192('data string');
|
38 | 38 |
|
39 | 39 |
### Functional interface:
|
40 | 40 |
use Crypt::Digest::Whirlpool qw( whirlpool whirlpool_hex whirlpool_b64 whirlpool_b64u
|
41 | |
whirlpool_file whirlpool_file_hex whirlpool_file_b64 whirlpool_file_b64u );
|
|
41 |
whirlpool_file whirlpool_file_hex whirlpool_file_b64 whirlpool_file_b64u );
|
42 | 42 |
|
43 | 43 |
# calculate digest from string/buffer
|
44 | 44 |
$whirlpool_raw = whirlpool('data string');
|
2 | 2 |
use strict;
|
3 | 3 |
use warnings ;
|
4 | 4 |
|
5 | |
our $VERSION = '0.014_2';
|
|
5 |
our $VERSION = '0.015';
|
6 | 6 |
|
7 | 7 |
require XSLoader;
|
8 | 8 |
XSLoader::load('CryptX', $VERSION);
|