Cargo Features
crypto-common has no features set by default.
[dependencies]
crypto-common = { version = "0.2.0-rc.5", features = ["getrandom", "rand_core", "zeroize"] }
- getrandom
-
Enables getrandom
optional dependencies
Affects
crypto-common::KeyInit.generate_key,crypto-common::KeyIvInit.generate_key,crypto-common::KeyIvInit.generate_iv,crypto-common::KeyIvInit.generate_key_iv,crypto-common::InnerIvInit.generate_iv… - rand_core
-
Enables rand_core
Affects
crypto-common::KeyInit.generate_key_with_rng,crypto-common::KeyInit.try_generate_key_with_rng,crypto-common::KeyIvInit.generate_key_with_rng,crypto-common::KeyIvInit.try_generate_key_with_rng,crypto-common::KeyIvInit.generate_iv_with_rng,crypto-common::KeyIvInit.try_generate_iv_with_rng,crypto-common::KeyIvInit.generate_key_iv_with_rng,crypto-common::KeyIvInit.try_generate_key_iv_with_rng,crypto-common::InnerIvInit.generate_iv_with_rng,crypto-common::InnerIvInit.try_generate_iv_with_rng… - zeroize
-
Enables zeroize of hybrid-array