[][src]Crate dumb_crypto

dumb-crypto

This library implements following cryptographic routines in the dumbest and the most obvious way:

  • sha256
  • hmac-sha256
  • pbkdf2-sha256
  • salsa20
  • scrypt

Normally, one would find a highly optimized code implementing those. However, verifying such code is a non-trivial task.

All routines (except for scrypt itself) are pre-requisites for scrypt. They are provided here just for convenience.

Documentation is available for each separate module.

Modules

aes

AES

aes_cbc

AES-CBC

hmac

Hmac

pbkdf2

PBKDF2

salsa20

Salsa20

scrypt

Scrypt

sha256

SHA256

Macros

wrapping_sum