Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encryption ¶
type Encryption struct {
// contains filtered or unexported fields
}
func NewEncryption ¶
func NewEncryption(key string) (*Encryption, error)
func (*Encryption) DecryptBase64 ¶
func (e *Encryption) DecryptBase64(ciphertext string) (string, error)
func (*Encryption) EncryptBase64 ¶
func (e *Encryption) EncryptBase64(plaintext string) (string, error)
Click to show internal directories.
Click to hide internal directories.