Skip to main content

scalar_from_slice

Function scalar_from_slice 

Source
pub fn scalar_from_slice(bytes: &[u8]) -> Result<Scalar>
Expand description

Decode a scalar from a slice, validating length.