Documentation ¶
Overview ¶
package aes256cbc Advanced Encryption Standard, with a 256 bit key length, operating in the Chain Block Cipher mode (AES-256-CBC).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Decrypter ¶
type Decrypter struct {
// contains filtered or unexported fields
}
Decrypter will decrypt data using AES256CBC method
func NewDecrypter ¶
func NewDecrypter(privateKey keys.PrivateKey) Decrypter
NewDecrypter create a new decrypter attaching the private key to it
func (Decrypter) Decrypt ¶
func (d Decrypter) Decrypt(data mc.EncryptedContent) (mc.PlainContent, error)
Decrypt data using recipient private key with AES in CBC mode.
Click to show internal directories.
Click to hide internal directories.