Documentation ¶
Index ¶
Constants ¶
View Source
const (
BLOCK_SIZE_16 = 16
)
Variables ¶
This section is empty.
Functions ¶
func AesEncrypt ¶
func EncryPasswd ¶
func PKCS7Padding ¶
Types ¶
type AesCipher128 ¶
type AesCipher128 struct {
// contains filtered or unexported fields
}
func NewAesCipher128 ¶
func NewAesCipher128(key, iv []byte) *AesCipher128
func (*AesCipher128) BlockSize ¶
func (aesCipher *AesCipher128) BlockSize() int
func (*AesCipher128) Decrypt ¶
func (aesCipher *AesCipher128) Decrypt(encrData []byte) []byte
func (*AesCipher128) Encrypt ¶
func (aesCipher *AesCipher128) Encrypt(origData []byte) []byte
Click to show internal directories.
Click to hide internal directories.