hashToEc method

  1. @override
BuBytes hashToEc(
  1. List<int> data
)
override

Maps 32-byte data to a 32-byte compressed Edwards point (Elligator/hash-to-point). Throws on invalid length.

Implementation

@override
BuBytes hashToEc(List<int> data) =>
    _api.hashToEc(data).unwrapOrThrowCryptoError();