Documentation ¶
Index ¶
- Variables
- func AES(handle cipher.Stream, m []byte) []byte
- func AESInit(k []byte, iv []byte, decrypt bool) cipher.Stream
- func AES_CFB(k []byte, iv []byte, m []byte, decrypt bool) []byte
- func CBC(b []byte) []byte
- func CRC32(m []byte) ([]byte, error)
- func DES(k []byte, d []byte) []byte
- func DESL(k []byte, d []byte) []byte
- func DES_ECB(k []byte, d []byte, encrypt bool) []byte
- func DES_ECB_LM(k uint32, b []byte) ([]byte, error)
- func ECB(in []byte) []byte
- func ECBP(in []byte) []byte
- func HMAC_MD5(k []byte, ms ...[]byte) ([]byte, error)
- func HMAC_SHA256(k []byte, ms ...[]byte) []byte
- func MD4(ms ...[]byte) ([]byte, error)
- func MD5(ms ...[]byte) ([]byte, error)
- func NewAESCFB8(k []byte, iv []byte, decrypt bool) cipher.Stream
- func Nonce(n int) ([]byte, error)
- func PAD(b []byte, n int) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ECBSize = 7
)
Functions ¶
func DES_ECB_LM ¶ added in v1.0.2
DES_ECB_LM encrypts the data using the algorithm specified in https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/b1b0094f-2546-431f-b06d-582158a9f2bb
func HMAC_SHA256 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.