Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ChaCha20Poly1305 (0.17 sec)

  1. 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"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top