toBytes method

List<int> toBytes(
  1. int baselen
)

Implementation

List<int> toBytes(int baselen) {
  final sBytes = BigintUtils.toBytes(s, length: baselen);
  final rBytes = BigintUtils.toBytes(r, length: baselen);

  return [...rBytes, ...sBytes];
}