Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooShort = errors.New("SealedSecret data is too short")
ErrTooShort indicates the provided data is too short to be valid
Functions ¶
func HybridDecrypt ¶
func HybridDecrypt(rnd io.Reader, privKey *rsa.PrivateKey, ciphertext, label []byte) ([]byte, error)
HybridDecrypt performs a regular AES-GCM + RSA-OAEP decryption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.