Cargo Features
pkcs5 has no features set by default.
[dependencies]
pkcs5 = { version = "0.8.0-rc.2", features = ["alloc", "3des", "des-insecure", "getrandom", "pbes2", "sha1-insecure"] }
- std alloc
- 3des = pbes2
-
Enables des
Affects
pbes2::DES_EDE3_CBC_OID
… - des-insecure = pbes2
-
Enables des
Affects
pbes2::DES_CBC_OID
… - getrandom
- pbes2 3des? des-insecure? sha1-insecure?
-
Enables aes, aes-gcm, cbc, pbkdf2, scrypt, and sha2
cbc:
optional dependencies
- sha1-insecure = pbes2
-
Enables sha1
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.