Docs.rs
ssb-crypto-0.2.1
ssb-crypto 0.2.1
Docs.rs crate page
AGPL-3.0
Links
Repository
crates.io
Source
Owners
sbillig
github:sunrise-choir:all
Dependencies
base64 ^0.12.3
normal
curve25519-dalek ^3.0.0
normal
ed25519-dalek ^1.0.0
normal
hmac ^0.9.0
normal
libsodium-sys ^0.2.6
normal
rand ^0.7.3
normal
sha2 ^0.9.1
normal
sodiumoxide ^0.2.6
normal
subtle ^2.2.3
normal
x25519-dalek ^1.1.0
normal
xsalsa20poly1305 ^0.4.2
normal
zerocopy ^0.3.0
normal
zeroize ^1.1.0
normal
hex ^0.4.2
dev
Versions
68.42%
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
☰
ssb_crypto
?
[
−
]
[src]
Function
ssb_crypto
::
hash
pub fn hash(b:
&[
u8
]
) ->
Hash
Generate a sha256 hash digest from the given byte slice.