-
- All Implemented Interfaces:
public final class BitsKt
-
-
Method Summary
Modifier and Type Method Description final static ScalartoScalarFromBits(ByteArray $self)Construct a Scalar from the low 255 bits of a 256-bit integer. -
-
Method Detail
-
toScalarFromBits
final static Scalar toScalarFromBits(ByteArray $self)
Construct a Scalar from the low 255 bits of a 256-bit integer.
This function is intended for applications like X25519 which require specific bit-patterns when performing scalar multiplication.
-
-
-
-