Documentation ¶
Index ¶
- Variables
- func Chunk(input []byte, size int) [][]byte
- func ComputeDistanceBetweenVectors(v1 []float64, v2 []float64) (result float64)
- func GenerateRandomBytes(count int) []byte
- func GetByteFrequency(input []byte) []float64
- func Hamming(b1 []byte, b2 []byte) int
- func PKCSPad(input []byte, size int) []byte
- func PKCSPadToBlockSize(input []byte, blockSize int) []byte
- func RemovePKCSPad(input []byte, size int) ([]byte, error)
- func Transpose(blocks [][]byte) [][]byte
Constants ¶
This section is empty.
Variables ¶
View Source
var CharacterFrequency = createFrequencyArray()
Functions ¶
func GenerateRandomBytes ¶
func GetByteFrequency ¶
func PKCSPadToBlockSize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.