Documentation ¶
Overview ¶
aesutil provides AES crypto utilities including writing and reading AES encrypted files
Index ¶
- func DecryptAes(text []byte, key []byte) ([]byte, error)
- func DecryptAesBase58(ciphertext []byte, key []byte, encoding *base58.Encoding) ([]byte, error)
- func DecryptAesBase58Json(ciphertext []byte, key []byte, encoding *base58.Encoding, item interface{}) error
- func DecryptAesBase64String(ciphertextBase64 string, key []byte) ([]byte, error)
- func EncryptAes(plaintext []byte, key []byte) ([]byte, error)
- func EncryptAesBase58(plaintext []byte, key []byte, encoding *base58.Encoding) ([]byte, error)
- func EncryptAesBase58Json(plainitem interface{}, key []byte, encoding *base58.Encoding) ([]byte, error)
- func EncryptDirectoryFilesAes(dirUnc string, dirEnc string, perm os.FileMode, key []byte) error
- func EncryptFileAes(filenameUnc string, filenameEnc string, perm os.FileMode, key []byte) error
- func ReadFileAes(filename string, key []byte) ([]byte, error)
- func WriteFileAes(filename string, baFileUnc []byte, perm os.FileMode, key []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAesBase58 ¶
func DecryptAesBase58Json ¶
func DecryptAesBase64String ¶
func EncryptAes ¶
EncryptAes provides a ciphertext byte array given a plaintext bytearray and key.
func EncryptAesBase58 ¶
func EncryptAesBase58Json ¶
func EncryptFileAes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.