0
$\begingroup$

Hi I am new to lib sodium, may I ask that is it possible to get scalar of ristretto255 from integer/bytes or NTL:zz?
Some thing as follows:

crypto_core_ristretto255_from_bytes(px, x); 
crypto_core_ristretto255_from_int(px, x); 
crypto_core_ristretto255_from_ntl(px, x); 
$\endgroup$

1 Answer 1

1
$\begingroup$

The byte representation of a scalar is just the scalar encoded as little endian.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.