[][src]Struct iota_crypto_preview::CurlP81

pub struct CurlP81(_);

CurlP with a fixed number of 81 rounds.

Methods

impl CurlP81[src]

pub fn new() -> Self[src]

impl CurlP81[src]

pub fn rounds(&self) -> usize[src]

Return the number of rounds used in this CurlP instacnce.

Trait Implementations

impl Default for CurlP81[src]

impl Sponge for CurlP81[src]

type Error = Infallible

An error indicating a that a failure has occured during absorb.

Auto Trait Implementations

impl RefUnwindSafe for CurlP81

impl Send for CurlP81

impl Sync for CurlP81

impl Unpin for CurlP81

impl UnwindSafe for CurlP81

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.