Docs.rs
pgp-0.10.1
pgp 0.10.1
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
crc24 ^0.1
normal
derive_builder ^0.12.0
normal
des ^0.8
normal
digest ^0.10
normal
ed25519-dalek ^2.0.0-rc.2
normal
elliptic-curve ^0.13
normal
flate2 ^1.0
normal
generic-array ^0.14
normal
getrandom ^0.2.6
normal
gperftools ^0.2.0
normal
hex ^0.4
normal
idea ^0.5
normal
log ^0.4.6
normal
md-5 ^0.10.5
normal
nom ^7.0
normal
num-bigint-dig ^0.8.1
normal
num-derive ^0.3.0
normal
num-traits ^0.2.6
normal
p256 ^0.13
normal
p384 ^0.13
normal
rand ^0.8
normal
ripemd ^0.1.3
normal
rsa ^0.9.0-pre.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.0-pre.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
39.74%
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
☰
Module rsa
Functions
?
Module
pgp
::
crypto
::
rsa
source
·
[
−
]
Functions
decrypt
RSA decryption using PKCS1v15 padding.
encrypt
RSA encryption using PKCS1v15 padding.
generate_key
Generate an RSA KeyPair.
sign
Sign using RSA, with PKCS1v15 padding.
verify
Verify a RSA, PKCS1v15 padded signature.