Docs.rs
pgp-0.11.0
pgp 0.11.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
dignifiedquire
Dependencies
aes ^0.8
normal
base64 ^0.21.0
normal
bitfield ^0.14
normal
block-padding ^0.3.2
normal
blowfish ^0.9
normal
bstr ^1.4.0
normal
buffer-redux ^1.0.0
normal
byteorder ^1.4
normal
camellia ^0.1
normal
cast5 ^0.11.0
normal
cfb-mode ^0.8.1
normal
chrono ^0.4.23
normal
cipher ^0.4
normal
const-oid ^0.9
normal
crc24 ^0.1
normal
curve25519-dalek ^4.1.2
normal
derive_builder ^0.12.0
normal
des ^0.8
normal
digest ^0.10
normal
dsa ^0.6.3
normal
ed25519-dalek ^2.0.0
normal
elliptic-curve ^0.13
normal
flate2 ^1.0
normal
generic-array ^0.14
normal
getrandom ^0.2.6
normal
optional
gperftools ^0.2.0
normal
optional
hex ^0.4
normal
idea ^0.5
normal
iter-read ^1
normal
k256 ^0.13
normal
log ^0.4.6
normal
md-5 ^0.10.5
normal
nom ^7.0
normal
num-bigint-dig ^0.8.1
normal
num-traits ^0.2.6
normal
num_enum ^0.7
normal
p256 ^0.13
normal
p384 ^0.13
normal
rand ^0.8
normal
ripemd ^0.1.3
normal
rsa ^0.9.0
normal
sha1 ^0.10.5
normal
sha2 ^0.10.6
normal
sha3 ^0.10.5
normal
signature ^2.0.0
normal
smallvec ^1.8.0
normal
thiserror ^1.0.30
normal
twofish ^0.7
normal
x25519-dalek ^2.0.1
normal
zeroize ^1.5
normal
glob ^0.3
dev
hex-literal ^0.3
dev
pretty_assertions ^1
dev
pretty_env_logger ^0.4
dev
rand_chacha ^0.3
dev
rand_xorshift ^0.3
dev
regex ^1.7
dev
serde ^1.0
dev
serde_json ^1.0
dev
Versions
44.67%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pgp
0.11.0
In pgp::crypto::aes_kw
?
Function
pgp
::
crypto
::
aes_kw
::
wrap
source
·
[
−
]
pub fn wrap(key: &[
u8
], data: &[
u8
]) ->
Result
<
Vec
<
u8
>>
Expand description
AES Key Wrap As defined in RFC 3394.