Cargo Features

fastcrypto has no features set by default.

[dependencies]
fastcrypto = { version = "0.1.8", features = ["copy_key", "unsecure_schemes", "experimental", "aes"] }
copy_key

Allow copying keys

Affects traits::KeyPair.copy

unsecure_schemes

Enable the unsecure signature and hash schemes for benchmarking.

Enables serde-big-array and twox-hash ^1.6.3

twox-hash:

Required for the unsecure signature and hash schemes

Affects fastcrypto::unsecure, hash::XXH3Unsecure, hash::XXH128Unsecure, hash::Fast256HashUnsecure

experimental

Used for feature that are not yet audited.

Enables bulletproofs ^4.0.0 and merlin

bulletproofs:

Required for bulletproofs

Affects min_pk::mskr, min_sig::mskr, bls12381::mskr, multiplier::bgmw, fastcrypto::bulletproofs

aes

Include AES and its modes.

Enables aes, aes-gcm, cbc, and ctr

aes:

Required for the aes feature

Affects fastcrypto::aes