Documentation
¶
Index ¶
- func AesDecryptWithKey(aesKey, ciphertext []byte) ([]byte, error)
- func AesDecryptWithPassword(password string, ciphertext []byte) ([]byte, error)
- func AesEncryptWithKey(aesKey, plaintext []byte) ([]byte, error)
- func AesEncryptWithPassword(password string, plaintext []byte) ([]byte, error)
- func Execute()
- func NewAesKey() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecryptWithKey ¶
AesDecryptWithKey uses the give 32-bit key to decrypt plaintext.
func AesDecryptWithPassword ¶
AesDecryptWithPassword uses the give password to generate an aes key and encrypt plaintext.
func AesEncryptWithKey ¶
AesEncryptWithKey uses the give 32-bit key to encrypt plaintext.
func AesEncryptWithPassword ¶
AesEncryptWithPassword uses the give password to generate an aes key and decrypt plaintext.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.