Documentation
¶
Index ¶
- func DecryptBlock(ciphertext [16]byte, privateKey [16]byte) [16]byte
- func DecryptCBC(ciphertext, key, IV []byte) []byte
- func DecryptECB(ciphertext, key []byte) []byte
- func EncryptBlock(state [16]byte, privateKey [16]byte) [16]byte
- func EncryptCBC(input, key, IV []byte) []byte
- func EncryptECB(input, key []byte) []byte
- func GFMul(a, b byte) byte
- func KeySchedule(secretKey [16]byte) [11][16]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptBlock ¶
Decrypts a 16-byte ciphertext using a 16-byte private key
func DecryptCBC ¶
func DecryptECB ¶
func EncryptBlock ¶
Encrypts a 16-byte block using a 16-byte private key
func EncryptCBC ¶
func EncryptECB ¶
func KeySchedule ¶
Expands a 16-byte secret key into 11 16-byte round keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.