Documentation ¶ Index ¶ Constants func Decrypt(encrypted []byte, ciphBlock cipher.Block) []byte func Encrypt(plaintext []byte, ciphBlock cipher.Block) []byte func KeyGeneration(password string) (cipher.Block, string) Constants ¶ View Source const FileName = "pass.yaml" Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(encrypted []byte, ciphBlock cipher.Block) []byte func Encrypt ¶ func Encrypt(plaintext []byte, ciphBlock cipher.Block) []byte func KeyGeneration ¶ func KeyGeneration(password string) (cipher.Block, string) Makes a key, then a cipher block. It returns "" if the password generation was successfull. If the following function is changed, also change it in changeKey.go Types ¶ This section is empty. Source Files ¶ View all Source files encrypt.go Click to show internal directories. Click to hide internal directories.