subtle-derive

Crates.iosubtle-derive
lib.rssubtle-derive
version0.1.0
sourcesrc
created_at2017-07-31 02:14:44.403237
updated_at2017-07-31 02:14:44.403237
descriptionPure-Rust traits and utilities for constant-time cryptographic implementations.
homepage
repositoryhttps://github.com/isislovecruft/subtle-derive
max_upload_size
id25739
size3,239
isis agora lovecruft (isislovecruft)

documentation

https://docs.rs/subtle-derive

README

subtle

Procedural macros for deriving subtle trait implementations.

Warning

This code has not yet received sufficient peer review by other qualified cryptographers to be considered in any way, shape, or form, safe. Further, this library does not provide much in the way of assurance against deliberate misuse. Instead, it is a low-level library, mostly of bit-flipping tricks, intended for other cryptographers who would like to implement their own constant-time libraries. (For an example usage of this library, please see curve25519-dalek and ed25519-dalek.)

USE AT YOUR OWN RISK

Documentation

Extensive documentation is available here.

Installation

To install, add the following to the dependencies section of your project's Cargo.toml:

subtle-derive = "^0.1"

Then, in your library or executable source, add:

#[macro_use]
extern crate subtle_derive
Commit count: 0

cargo fmt