Struct ChaCha20Core

pub struct ChaCha20Core { /* private fields */ }

ChaCha with 20 rounds

Trait Implementations

impl Clone for ChaCha20Core

fn clone(&self) -> ChaCha20Core

impl Debug for ChaCha20Core

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ChaCha20Core

impl Generator for ChaCha20Core

type Output = [u32; 64];
fn generate(&mut self, output: &mut Self::Output)

impl PartialEq for ChaCha20Core

fn eq(&self, other: &ChaCha20Core) -> bool

impl SeedableRng for ChaCha20Core

type Seed = [u8; 32];
fn from_seed(seed: Self::Seed) -> Self

impl StructuralPartialEq for ChaCha20Core

Auto Trait Implementations

impl Freeze for ChaCha20Core

impl RefUnwindSafe for ChaCha20Core

impl Send for ChaCha20Core

impl Sync for ChaCha20Core

impl Unpin for ChaCha20Core

impl UnsafeUnpin for ChaCha20Core

impl UnwindSafe for ChaCha20Core

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ChaCha20Core where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ChaCha20Core where ST: ?Sized, DT: ?Sized,

impl<T> Any for ChaCha20Core where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ChaCha20Core where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ChaCha20Core where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ChaCha20Core where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ChaCha20Core

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for ChaCha20Core where T: ?Sized,

impl<T> ToOwned for ChaCha20Core where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for ChaCha20Core where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ChaCha20Core where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ChaCha20Core where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip<V> for ChaCha20Core where V: MultiLane<T>,

fn vzip(self) -> V