macchiato.crypto
decrypt
(decrypt key data)encrypt
(encrypt key data)eq?
(eq? a b)Test whether two sequences of characters or bytes are equal in a way that protects against timing attacks. Note that this does not prevent an attacker from discovering the *length* of the data being compared.
hmac
(hmac key data)random-base64
(random-base64 n)generates a random base64 string of length n