- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for Extractor (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.1.0-rc1.zip
"crypto/internal/fips140/hmac" "hash" ) func Extract[H hash.Hash](h func() H, secret, salt []byte) []byte { if len(secret) < 112/8 { fips140.RecordNonApproved() } if salt == nil { salt = make([]byte, h().Size()) } extractor := hmac.New(h, salt) hmac.MarkAsUsedInKDF(extractor) extractor.Write(secret) return extractor.Sum(nil) } func Expand[H hash.Hash](h func() H, pseudorandomKey []byte, info string, keyLen int) []byte { out := make([]byte, 0, keyLen) expander := hmac.New(h, pseudorandomKey) hmac.MarkAsUsedInKDF(expander)...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
"crypto/internal/fips140/hmac" ) func Extract[H fips140.Hash](h func() H, secret, salt []byte) []byte { if len(secret) < 112/8 { fips140.RecordNonApproved() } if salt == nil { salt = make([]byte, h().Size()) } extractor := hmac.New(h, salt) hmac.MarkAsUsedInKDF(extractor) extractor.Write(secret) return extractor.Sum(nil) } func Expand[H fips140.Hash](h func() H, pseudorandomKey []byte, info string, keyLen int) []byte { out := make([]byte, 0, keyLen) expander := hmac.New(h, pseudorandomKey) hmac.MarkAsUsedInKDF(expander)...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)