Module rust_sodium::crypto [] [src]

Cryptographic functions

Modules

auth

Secret-key authentication

box_

Public-key authenticated encryption

hash

Hashing

onetimeauth

Secret-key One-time authentication

pwhash

Password Hashing

scalarmult

Scalar multiplication

sealedbox

Sealed Boxes

secretbox

Secret-key authenticated encryption

shorthash

A lot of applications and programming language implementations have been recently found to be vulnerable to denial-of-service attacks when a hash function with weak security guarantees, like Murmurhash 3, was used to construct a hash table.

sign

Public-key signatures

stream

Secret-key encryption

verify

Constant-time comparison of fixed-size vecs