Cargo Features
crypto-common has no features set by default.
[dependencies]
crypto-common = { version = "0.2.0-rc.2", features = ["os_rng", "rand_core", "zeroize"] }
- os_rng = rand_core
-
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 os_rng?
-
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