Skip to main content

SaltInput

Trait SaltInput 

Source
pub trait SaltInput {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Expand description

Supported salt input types for Kiwavi

Required Methods§

Source

fn as_bytes(&self) -> &[u8]

Implementations on Foreign Types§

Source§

impl SaltInput for &str

Source§

fn as_bytes(&self) -> &[u8]

Source§

impl SaltInput for &[u8]

Source§

fn as_bytes(&self) -> &[u8]

Source§

impl SaltInput for String

Source§

fn as_bytes(&self) -> &[u8]

Source§

impl SaltInput for Vec<u8>

Source§

fn as_bytes(&self) -> &[u8]

Source§

impl<const N: usize> SaltInput for &[u8; N]

Source§

fn as_bytes(&self) -> &[u8]

Source§

impl<const N: usize> SaltInput for [u8; N]

Source§

fn as_bytes(&self) -> &[u8]

Implementors§