toBytes method

List<int> toBytes()

The toBytes method converts the Schnorrkel secret key into a byte representation.

Implementation

List<int> toBytes() {
  return [..._key, ..._nonce];
}