Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecryptBytes (0.08 sec)

  1. internal/config/crypto.go

    	if err != nil {
    		return nil, err
    	}
    	return io.ReadAll(ciphertext)
    }
    
    // DecryptBytes decrypts the ciphertext using a key managed by the KMS.
    // The same context that have been used during encryption must be
    // provided.
    func DecryptBytes(k *kms.KMS, ciphertext []byte, context kms.Context) ([]byte, error) {
    	plaintext, err := Decrypt(k, bytes.NewReader(ciphertext), context)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top