Skip to main content

Block

Type Alias Block 

Source
pub type Block = Array<u8, U16>;
Expand description

POLYVAL blocks (16-bytes)

Aliased Type§

#[repr(transparent)]
pub struct Block(pub [u8; 16]);

Tuple Fields§

§0: [u8; 16]

Trait Implementations§

Source§

impl From<&FieldElement> for Block

Source§

fn from(fe: &FieldElement) -> Self

Converts to this type from the input type.
Source§

impl From<FieldElement> for Block

Source§

fn from(fe: FieldElement) -> Self

Converts to this type from the input type.