generate static method
Generates a fresh keypair.
Implementation
static Future<RatchetEphemeral> generate() async {
final pair = await (await _x25519.newKeyPair()).extract();
return RatchetEphemeral._(
pair,
List<int>.unmodifiable(pair.publicKey.bytes),
);
}