function getRandomPoint()

in src/ristretto255.js [842:848]


function getRandomPoint() {
  // create a random hash string
  const h = nacl.randomBytes(64);
  // let h = new Uint8Array(64);
  // lowlevel.randombytes(h, 64);
  return pointFromHash(h);
}