Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AES256GCM (0.06 sec)

  1. internal/kms/secret-key.go

    		return ErrDecrypt
    	}
    
    	if value.Algorithm != AES256GCM && value.Algorithm != CHACHA20POLY1305 {
    		return ErrDecrypt
    	}
    	if len(value.IV) != IVSize {
    		return ErrDecrypt
    	}
    	if len(value.Nonce) != NonceSize {
    		return ErrDecrypt
    	}
    
    	switch value.Algorithm {
    	case AES256GCM:
    		c.Algorithm = kms.AES256
    	case CHACHA20POLY1305:
    		c.Algorithm = kms.ChaCha20
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top