Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomIVKey ¶
GenerateRandomIVKey generate random IV value
Types ¶
type AESCryptor ¶
type AESCryptor struct {
// contains filtered or unexported fields
}
AESCryptor aes cryptor
func NewAESCryptor ¶
func NewAESCryptor(key string, iv string, blockSize int) *AESCryptor
NewAESCryptor create new AESCryptor. The key will be hashed using sha256 and will be used as the private key
Click to show internal directories.
Click to hide internal directories.