- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ChaCha20Poly1305 (0.08 seconds)
-
internal/kms/secret-key.go
func (c *ciphertext) UnmarshalJSON(text []byte) error { const ( IVSize = 16 NonceSize = 12 AES256GCM = "AES-256-GCM-HMAC-SHA-256" CHACHA20POLY1305 = "ChaCha20Poly1305" ) type JSON struct { Algorithm string `json:"aead"` ID string `json:"id"` IV []byte `json:"iv"` Nonce []byte `json:"nonce"` Bytes []byte `json:"bytes"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
internal/kms/secret-key_test.go
Plaintext: "zmS7NrG765UZ0ZN85oPjybelxqVvpz01vxsSpOISy2M=", Ciphertext: `{"aead":"ChaCha20Poly1305","iv":"JbI+vwvYww1lCb5VpkAFuQ==","nonce":"ARjIjJxBSD541Gz8","bytes":"KCbEc2sA0TLvA7aWTWa23AdccVfJMpOxwgG8hm+4PaNrxYfy1xFWZg2gEenVrOgv"}`, }, { KeyID: "my-key", Plaintext: "UnPWsZgVI+T4L9WGNzFlP1PsP1Z6hn2Fx8ISeZfDGnA=",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.9K bytes - Click Count (0) -
internal/config/crypto.go
// ciphertext. func Encrypt(k *kms.KMS, plaintext io.Reader, ctx kms.Context) (io.Reader, error) { algorithm := sio.AES_256_GCM if !sioutil.NativeAES() { algorithm = sio.ChaCha20Poly1305 } key, err := k.GenerateKey(context.Background(), &kms.GenerateKeyRequest{AssociatedData: ctx}) if err != nil { return nil, err } stream, err := algorithm.Stream(key.Plaintext) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 4.7K bytes - Click Count (0) -
api/go1.26.txt
pkg crypto/fips140, func Version() string #75301 pkg crypto/fips140, func WithoutEnforcement(func()) #74630 pkg crypto/hpke, func AES128GCM() AEAD #75300 pkg crypto/hpke, func AES256GCM() AEAD #75300 pkg crypto/hpke, func ChaCha20Poly1305() AEAD #75300 pkg crypto/hpke, func DHKEM(ecdh.Curve) KEM #75300 pkg crypto/hpke, func ExportOnly() AEAD #75300 pkg crypto/hpke, func HKDFSHA256() KDF #75300 pkg crypto/hpke, func HKDFSHA384() KDF #75300
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0)