… | |
… | |
40 | =cut |
40 | =cut |
41 | |
41 | |
42 | package Crypt::Ed25519; |
42 | package Crypt::Ed25519; |
43 | |
43 | |
44 | BEGIN { |
44 | BEGIN { |
45 | $VERSION = '0.2'; |
45 | $VERSION = '0.9'; |
46 | |
46 | |
47 | require XSLoader; |
47 | require XSLoader; |
48 | XSLoader::load Crypt::Ed25519::, $VERSION; |
48 | XSLoader::load Crypt::Ed25519::, $VERSION; |
49 | } |
49 | } |
50 | |
50 | |
… | |
… | |
119 | You can convert an EdDSA secret to an Ed25519 private/public key pair |
119 | You can convert an EdDSA secret to an Ed25519 private/public key pair |
120 | using C<Crypt::Ed25519::generate_keypair>: |
120 | using C<Crypt::Ed25519::generate_keypair>: |
121 | |
121 | |
122 | ($public_key, $private_key) = Crypt::Ed25519::generate_keypair $secret |
122 | ($public_key, $private_key) = Crypt::Ed25519::generate_keypair $secret |
123 | |
123 | |
124 | =head2 IMPLEMENTATIOIN |
124 | =head1 IMPLEMENTATIOIN |
125 | |
125 | |
126 | This module currently uses "Nightcracker's Ed25519" implementation, but |
126 | This module currently uses "Nightcracker's Ed25519" implementation, but |
127 | the interface is kept implementation-agnostic to allow usage of other |
127 | the interface is kept implementation-agnostic to allow usage of other |
128 | implementations in the future. |
128 | implementations in the future. |
129 | |
129 | |