secretToPublic function

List<int> secretToPublic(
  1. List<int> secret
)

Implementation

List<int> secretToPublic(List<int> secret) {
  final expanded = _secretExpand(secret);
  return UnmodifiableUint8ListView(
    Uint8List.fromList(_pointCompress(_pointMultiply(expanded[0], _G)))
  );
}