- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewCipher (0.24 sec)
-
internal/kms/single-key.go
var aead cipher.AEAD switch algorithm { case algorithmAESGCM: mac := hmac.New(sha256.New, kms.key) mac.Write(iv) sealingKey := mac.Sum(nil) var block cipher.Block block, err = aes.NewCipher(sealingKey) if err != nil { return DEK{}, err } aead, err = cipher.NewGCM(block) if err != nil { return DEK{}, err } case algorithmChaCha20Poly1305: var sealingKey []byte
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
api/go1.txt
pkg crypto, method (Hash) New() hash.Hash pkg crypto, method (Hash) Size() int pkg crypto, type Hash uint pkg crypto, type PrivateKey interface {} pkg crypto/aes, const BlockSize ideal-int pkg crypto/aes, func NewCipher([]uint8) (cipher.Block, error) pkg crypto/aes, method (KeySizeError) Error() string pkg crypto/aes, type KeySizeError int pkg crypto/cipher, func NewCBCDecrypter(Block, []uint8) BlockMode
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)