# Namespace: joker.crypto

v1.0

## Contents

- Summary
- Index
- Constants
- Variables
- Functions, Macros, and Special Forms

## Summary

Implements common cryptographic and hash functions.

## Index

- hmac
- md5
- sha1
- sha224
- sha256
- sha384
- sha512
- sha512-224
- sha512-256

## Constants

Constants are variables with `:const true` in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.

(None.)

## Variables

(None.)

## Functions, Macros, and Special Forms

- ### hmac

  Function v1.0

      (hmac algorithm message key)

  Returns HMAC signature for message and key using specified algorithm.
  Algorithm is one of the following: :sha1, :sha224, :sha256, :sha384, :sha512.

- ### md5

  Function v1.0

      (md5 data)

  Returns the MD5 checksum of the data.

- ### sha1

  Function v1.0

      (sha1 data)

  Returns the SHA1 checksum of the data.

- ### sha224

  Function v1.0

      (sha224 data)

  Returns the SHA224 checksum of the data.

- ### sha256

  Function v1.0

      (sha256 data)

  Returns the SHA256 checksum of the data.

- ### sha384

  Function v1.0

      (sha384 data)

  Returns the SHA384 checksum of the data.

- ### sha512

  Function v1.0

      (sha512 data)

  Returns the SHA512 checksum of the data.

- ### sha512-224

  Function v1.0

      (sha512-224 data)

  Returns the SHA512/224 checksum of the data.

- ### sha512-256

  Function v1.0

      (sha512-256 data)

  Returns the SHA512/256 checksum of the data.