Documentation ¶
Overview ¶
Cryptopals shows basic crypto operations. Always operate on raw bytes, never on encoded strings. Only use hex and base64 for pretty-printing.
Adapted from https://github.com/0xfe/cryptopals.
Level: beginner Topics: encoding, xor
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixedXOR ¶
FixedXOR does bitwise XOR of two hex strings. The strings must be of equal length. (Set 1, challenge 2.)
func HexToBase64 ¶
HexToBase64 decodes hex string into base64 string. (Set 1, challenge 1.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.