Docs.rs
polycrypt-0.1.1
polycrypt 0.1.1
Permalink
Docs.rs crate page
Unlicense
Links
crates.io
Source
Owners
Tibo-lg
conduition
Dependencies
aead ^0.5
normal
base64 ^0.22
normal
chacha20poly1305 ^0.10
normal
hmac ^0.12
normal
sha2 ^0.10
normal
hex ^0.4.3
dev
Versions
42.86%
of the crate is documented
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
polycrypt
0.1.1
All Items
Crate Items
Constants
Functions
Type Aliases
Crate
polycrypt
Copy item path
Source
Constants
§
XNONCE_
LEN
Functions
§
decrypt
Decrypt a ciphertext. Note that we accept any nonce, not just deterministic ones.
derive_
xnonce
Truncated HMAC-SHA256(key, plaintext)
encrypt
Encrypt a piece of plaintext data using a deterministic pseudorandom nonce.
Type Aliases
§
Key
XNonce