Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
func Sha256Hmac ¶
Types ¶
type AESCbcPKCS5 ¶
type AESCbcPKCS5 struct {
// contains filtered or unexported fields
}
func NewAESCbcPKCS5 ¶
func NewAESCbcPKCS5(key []byte, iv []byte) AESCbcPKCS5
func (AESCbcPKCS5) Decrypt ¶
func (a AESCbcPKCS5) Decrypt(ciphertext []byte) []byte
func (AESCbcPKCS5) Encrypt ¶
func (a AESCbcPKCS5) Encrypt(cleartext []byte)
Click to show internal directories.
Click to hide internal directories.