- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GenerateKey (0.07 sec)
-
api/go1.26.txt
pkg crypto/hpke, type KDF interface, unexported methods #75300 pkg crypto/hpke, type KEM interface, DeriveKeyPair([]uint8) (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, GenerateKey() (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, ID() uint16 #75300 pkg crypto/hpke, type KEM interface, NewPrivateKey([]uint8) (PrivateKey, error) #75300
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 19:57:52 UTC 2025 - 11.5K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
{ pub := priv.pub return pub[:] } type PublicKey struct { a edwards25519.Point aBytes [32]byte } func (pub *PublicKey) Bytes() []byte { a := pub.aBytes return a[:] } // GenerateKey generates a new Ed25519 private key pair. func GenerateKey() (*PrivateKey, error) { priv := &PrivateKey{} return generateKey(priv) } func generateKey(priv *PrivateKey) (*PrivateKey, error) { fips140.RecordApproved() drbg.Read(priv.seed[:]) precomputePrivateKey(priv) fipsPCT(priv) return priv, nil } func NewPrivateKeyFromSee(seed...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)