Versions in this module Expand all Collapse all v0 v0.3.0 May 6, 2024 Changes in this version + func ExtendKey(key []byte, keyLen int) []byte + func Pkcs7Padding[T types.DataType](src T, blockSize int) []byte + func Pkcs7UnPadding[T types.DataType](src T) T + func ToBytes[T types.DataType](s T) []byte + func ToHexString[T types.DataType](b T) string + func ToKeyBytes(key interface{}) ([]byte, error) + func ToString[T types.DataType](b T) string + type RandomSizeFunc func(len int) ([]byte, error) + var RandomSize RandomSizeFunc = func(len int) ([]byte, error) { ... }