README ¶ Simple Crypter It's a simple crypter for encrypting/decrypting plaintext with a secret. License Simple Crypter Copyright (C) 2022 ThomasBoom89. MIT license. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Crypter func New() *Crypter func (C *Crypter) Decrypt(secret string, text []byte) (string, error) func (C *Crypter) Encrypt(secret, text string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Crypter ¶ type Crypter struct { } func New ¶ func New() *Crypter func (*Crypter) Decrypt ¶ func (C *Crypter) Decrypt(secret string, text []byte) (string, error) func (*Crypter) Encrypt ¶ func (C *Crypter) Encrypt(secret, text string) ([]byte, error) Source Files ¶ View all Source files crypter.go Directories ¶ Show internal Expand all Path Synopsis example Click to show internal directories. Click to hide internal directories.