[−][src]Function x25519_dalek::x25519::clamp_scalar
fn clamp_scalar(scalar: [u8; 32]) -> Scalar
"Decode" a scalar from a 32-byte array.
By "decode" here, what is really meant is applying key clamping by twiddling some bits.
Returns
A Scalar
.