sign abstract method
Signs message (arbitrary bytes) with sk and 32-byte publicKey.
sk is 32 bytes for CryptoKeyType.ed25519/CryptoKeyType.ed25519Blake2b
and 64 bytes for CryptoKeyType.ed25519Monero/CryptoKeyType.ed25519Kholaw.
type selects the ed25519 domain; returns 64-byte R || s. Throws on invalid type or lengths.
Implementation
BuBytes sign({
required List<int> sk,
required List<int> message,
required List<int> publicKey,
CryptoKeyType type = CryptoKeyType.ed25519,
});