1 |
package OpenSSL::Name; |
2 |
|
3 |
=head1 NAME |
4 |
|
5 |
OpenSSL::Rand -- Access to OpenSSL Name functions |
6 |
|
7 |
=head1 SYNOPSIS |
8 |
|
9 |
use OpenSSL::Name; |
10 |
|
11 |
=cut |
12 |
|
13 |
use OpenSSL; |
14 |
|
15 |
our $VERSION = '0.06'; |
16 |
use base Exporter; |
17 |
|
18 |
=head1 FUNCTIONS |
19 |
|
20 |
=over 4 |
21 |
|
22 |
=item $randbytes = randbytes($nr) |
23 |
|
24 |
returns $nr random bytes raw. |
25 |
|
26 |
=item $randbytes_base64 = randbytes_base64($nr) |
27 |
|
28 |
returns $nr random bytes base 64 encoded. |
29 |
|
30 |
=item $randbytes_hex = randbytes_hex($nr) |
31 |
|
32 |
returns $nr random bytes hex encoded. |
33 |
|
34 |
=back |
35 |
|
36 |
=head1 SEE ALSO |
37 |
|
38 |
L<OpenSSL>, L<OpenSSL::HMAC>. |
39 |
|
40 |
=head1 AUTHOR |
41 |
|
42 |
Stefan Traby <stefan@hello-penguin.com> |
43 |
http://mindterm.plan9.de/ |
44 |
|
45 |
=cut |
46 |
|
47 |
1; |