- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for teks (0.14 sec)
-
internal/kms/single-key.go
} // New returns a single-key KMS that derives new DEKs from the // given key. func New(keyID string, key []byte) (KMS, error) { if len(key) != 32 { return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key))) } return secretKey{ keyID: keyID, key: key, }, nil } // secretKey is a KMS implementation that derives new DEKs // from a single key. type secretKey struct { keyID string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0)