ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Crypt-Ed25519/Ed25519.pm
(Generate patch)

Comparing Crypt-Ed25519/Ed25519.pm (file contents):
Revision 1.6 by root, Sun Mar 29 06:24:10 2015 UTC vs.
Revision 1.13 by root, Tue Feb 28 19:53:08 2017 UTC

74=cut 74=cut
75 75
76package Crypt::Ed25519; 76package Crypt::Ed25519;
77 77
78BEGIN { 78BEGIN {
79 $VERSION = '1.0'; 79 $VERSION = 1.04;
80 80
81 require XSLoader; 81 require XSLoader;
82 XSLoader::load Crypt::Ed25519::, $VERSION; 82 XSLoader::load Crypt::Ed25519::, $VERSION;
83} 83}
84 84
141your secret key. 141your secret key.
142 142
143=item $public_key = Crypt::Ed25519::eddsa_public_key $secret_key 143=item $public_key = Crypt::Ed25519::eddsa_public_key $secret_key
144 144
145Takes a secret key generated by C<Crypt::Ed25519::eddsa_secret_key> 145Takes a secret key generated by C<Crypt::Ed25519::eddsa_secret_key>
146and returns the corresponding C<$public_key>. The derivation ios 146and returns the corresponding C<$public_key>. The derivation is
147deterministic, i.e. the C<$public_key> generated for a specific 147deterministic, i.e. the C<$public_key> generated for a specific
148C<$secret_key> is always the same. 148C<$secret_key> is always the same.
149 149
150This public key corresponds to the public key in the Ed25519 API above. 150This public key corresponds to the public key in the Ed25519 API above.
151 151
186derive the public key as needed. On the other hand, signing using the 186derive the public key as needed. On the other hand, signing using the
187private key is faster than using the secret key, so converting the secret 187private key is faster than using the secret key, so converting the secret
188key to a public/private key pair allows you to sign a small message, or 188key to a public/private key pair allows you to sign a small message, or
189many messages, faster. 189many messages, faster.
190 190
191=head1 SUPPORT FOR THE PERL MULTICORE SPECIFICATION
192
193This module supports the perl multicore specification
194(L<http://perlmulticore.schmorp.de/>) for key generation (usually the
195slowest operation), and all signing and verification functions.
196
191=head1 IMPLEMENTATIOIN 197=head1 IMPLEMENTATIOIN
192 198
193This module currently uses "Nightcracker's Ed25519" implementation, but 199This module currently uses "Nightcracker's Ed25519" implementation, which
200is unmodified except for some portability fixes and static delcarations,
194the interface is kept implementation-agnostic to allow usage of other 201but the interface is kept implementation-agnostic to allow usage of other
195implementations in the future. 202implementations in the future.
196 203
197=head1 AUTHOR 204=head1 AUTHOR
198 205
199 Marc Lehmann <schmorp@schmorp.de> 206 Marc Lehmann <schmorp@schmorp.de>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines