static Future<List<int>> getPublicKey(var privateKey) { return ed25519.Ed25519.publickey( Crypto._ed25519HashFunc, Uint8List.fromList(privateKey)); }