- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewPublicKey (1.56 sec)
-
lib/fips140/v1.0.0.zip
fipsPCT(priv); err != nil { // This can happen if the application messed with the private key // encoding, and the public key doesn't match the seed anymore. return nil, err } return priv, nil } func NewPublicKey(pub []byte) (*PublicKey, error) { p := &PublicKey{} return newPublicKey(p, pub) } func newPublicKey(pub *PublicKey, pubBytes []byte) (*PublicKey, error) { if l := len(pubBytes); l != publicKeySize { return nil, errors.New("ed25519: bad public key length: " + strconv.Itoa(l)) } // SetBytes checks...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)