Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicCryptographer ¶
type BasicCryptographer struct{}
func (BasicCryptographer) Decrypt ¶
func (bc BasicCryptographer) Decrypt(ciphertext string, key []byte) (plaintext string, err error)
func (BasicCryptographer) Encrypt ¶
func (bc BasicCryptographer) Encrypt(data string, key []byte) (encrypted string)
func (BasicCryptographer) Hash ¶
func (bc BasicCryptographer) Hash(data string) (hash string)
Click to show internal directories.
Click to hide internal directories.