Struct arx_kw::gx::GX[][src]

pub struct GX;

The ARX-8-2-4-GX variant. Has a key length of 32 bytes and no maximum input length. See the ArxKW trait for usage.

Implementations

impl GX[src]

#[must_use]pub const fn key_length() -> usize[src]

The length in bytes of the secret key used by this variant of ARX-KW

Trait Implementations

impl ArxKW for GX[src]

type Key = [u8; 32]

The type of data which is used as a key for the type that impls this trait. Note that this is not the same for all variants of ARX-KW. all of the currently-defined variants use the same-sized keys Read more

Auto Trait Implementations

impl RefUnwindSafe for GX[src]

impl Send for GX[src]

impl Sync for GX[src]

impl Unpin for GX[src]

impl UnwindSafe for GX[src]

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.