cryptoxide 0.1.1

pure implementation of various common modern cryptographic algorithms, WASM compatible
Documentation

Cryptoxide

Build Status MIT or APACHE-2 licensed

A pure Rust implementation of various modern cryptographic algorithms, which has no dependencies and no foreign code (specially C or assembly code). This is compatible with WASM and embedded devices.

This crates package aims to support as many architectures as possible with as little dependencies as possible.

Disclaimer: There are no warranties in use as everything is cryptographically-related

Fork information

This is a fork of Rust-Crypto by DaGenix, to which we owe a debt of gratitude for starting some good quality pure Rust implementations of various cryptographic algorithms.

Notable differences with the original sources:

  • Maintained.
  • Extended ED25519 support for extended secret key (64 bytes) support.
  • Proper implementation of ChaChaPoly1305 (according to spec).
  • Many cryptographic algorithms removed: AES, Blowfish, Fortuna, RC4, RIPEMD160, Whirlpool, MD5, SHA1.

Supported targets

rustup target add aarch64-apple-ios # or any target below
Target test
aarch64-unknown-linux-gnu
aarch64-linux-android
aarch64-apple-ios
arm-unknown-linux-gnueabi
arm-linux-androideabi
armv7-unknown-linux-gnueabihf
armv7-linux-androideabi
armv7-apple-ios
armv7s-apple-ios
i686-unknown-linux-gnu
i686-unknown-linux-musl
i686-unknown-freebsd
i686-apple-ios
i686-apple-darwin
i686-linux-android
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
x86_64-linux-android
x86_64-apple-darwin
x86_64-apple-ios
x86_64-unknown-freebsd
wasm32-unknown-emscripten
wasm32-unknown-unknown

supported compiler versions

Rust test
stable
beta
nightly

We will always aim to support the current stable version. However, it is likely that an older version of the Rust compiler is also supported.

License

This project is licensed under either of the following licenses:

Please choose the licence you want to use.