Documentation
¶
Overview ¶
Copyright 2020-2024 NGR Softlab
Index ¶
- func Decrypt(key []byte, text string) (string, error)
- func Decrypt2(key []byte, encMessage []byte) ([]byte, error)
- func Encrypt(key []byte, text string) (string, error)
- func Encrypt2(key []byte, message []byte) ([]byte, error)
- func PKCS5Padding(cipher []byte, blockSize int) []byte
- func PKCS5UnPadding(src []byte) []byte
- func Pad(src []byte) []byte
- func UnPad(src []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.