Versions in this module Expand all Collapse all v2 v2.1.1 Apr 18, 2019 Changes in this version + type EncryptManager struct + func NewEncryptManager(passphrase string) *EncryptManager + func (e *EncryptManager) Decrypt(r io.Reader) ([]byte, error) + func (e *EncryptManager) Encrypt(r io.Reader) ([]byte, error) + func (e *EncryptManager) RetrieveGCMDecryptionParameters() ([]byte, error) + func (e *EncryptManager) WithGCM(params *GCMDecryptParams) *EncryptManager + type GCMDecryptParams struct + CipherKey string + Nonce string + type Protocol string + var CFB Protocol = "AES256-CFB" + var GCM Protocol = "AES256-GCM" Other modules containing this package github.com/RTradeLtd/crypto