Documentation ¶
Index ¶
Constants ¶
View Source
const HashLength = 32
Variables ¶
This section is empty.
Functions ¶
func DecryptData ¶
DecryptData decrypts the input ciphertext using AES decryption with the provided password.
func EncryptData ¶
EncryptData encrypts the input data using AES encryption with the provided password.
func HashString ¶
HashString calculates the SHA-256 hash of the input string and returns it as a hexadecimal string.
Types ¶
Click to show internal directories.
Click to hide internal directories.