… | |
… | |
74 | =cut |
74 | =cut |
75 | |
75 | |
76 | package Crypt::Ed25519; |
76 | package Crypt::Ed25519; |
77 | |
77 | |
78 | BEGIN { |
78 | BEGIN { |
79 | $VERSION = 1.03; |
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 | |
… | |
… | |
141 | your secret key. |
141 | your 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 | |
145 | Takes a secret key generated by C<Crypt::Ed25519::eddsa_secret_key> |
145 | Takes a secret key generated by C<Crypt::Ed25519::eddsa_secret_key> |
146 | and returns the corresponding C<$public_key>. The derivation ios |
146 | and returns the corresponding C<$public_key>. The derivation is |
147 | deterministic, i.e. the C<$public_key> generated for a specific |
147 | deterministic, i.e. the C<$public_key> generated for a specific |
148 | C<$secret_key> is always the same. |
148 | C<$secret_key> is always the same. |
149 | |
149 | |
150 | This public key corresponds to the public key in the Ed25519 API above. |
150 | This public key corresponds to the public key in the Ed25519 API above. |
151 | |
151 | |