# rand_chacha - Rust
The ChaCha random number generator.
Keywords: rust, rustlang, rust-lang, rand_chacha

# Crate rand_chacha

source · [−]
Expand description

The ChaCha random number generator.

## Re-exports

`pub use rand_core;`

## Structs

ChaCha8Core

ChaCha with 8 rounds

ChaCha8Rng

A cryptographically secure random number generator that uses the ChaCha algorithm.

ChaCha12Core

ChaCha with 12 rounds

ChaCha12Rng

A cryptographically secure random number generator that uses the ChaCha algorithm.

ChaCha20Core

ChaCha with 20 rounds

ChaCha20Rng

A cryptographically secure random number generator that uses the ChaCha algorithm.

## Type Definitions

ChaChaCore

ChaCha with 20 rounds, low-level interface

ChaChaRng

ChaCha with 20 rounds