Cargo Features

pkcs5 has no features set by default.

[dependencies]
pkcs5 = { version = "0.8.0-rc.3", 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

Enables os_rng of rand_core

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.

rand_core getrandom?
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy