- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for signWithDom (0.8 sec)
-
lib/fips140/v1.0.0.zip
fips140.RecordNonApproved() // Note that per RFC 8032, Section 5.1, the context SHOULD NOT be empty. if l := len(context); l > 255 { return nil, errors.New("ed25519: bad Ed25519ctx context length: " + strconv.Itoa(l)) } return signWithDom(signature, priv, message, domPrefixCtx, context), nil } func signWithDom(signature []byte, priv *PrivateKey, message []byte, domPrefix, context string) []byte { mh := sha512.New() if domPrefix != domPrefixPure { mh.Write([]byte(domPrefix)) mh.Write([]byte{byte(len(context))}) mh....
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)