Method Nettle.Curve448()->new_scalar()
- Method
new_scalar
Gmp.mpz
new_scalar(function
(int(0..)
:string(8bit)
)rnd
)- Parameter
rnd
Randomness function to use as source.
- Returns
Returns a random scalar suitable to use as an
ECDSA
private key or as an ECDH exponent.