Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pkcs7UnPadding ¶
func ToHexString ¶
func ToKeyBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.