ScalarBaseMult function

void ScalarBaseMult(
  1. List<int> dst,
  2. List<int> scalar
)

ScalarBaseMult sets dst to the product scalar * base where base is the standard generator.

It is recommended to use the X25519 function with Basepoint instead, as copying into fixed size arrays can lead to unexpected bugs.

Implementation

void ScalarBaseMult(List<int> dst, List<int> scalar) {
  curve.scalarMultGeneric(dst, scalar, basePoint);
}