sign static method
Implementation
static Future<List<int>> sign(
List<int> message, List<int>? privateKey, List<int> publicKey) {
return ed25519.Ed25519.signature(
Crypto._ed25519HashFunc,
Uint8List.fromList(message),
privateKey == null ? null : Uint8List.fromList(privateKey),
Uint8List.fromList(publicKey));
}