private byte ConvertByte(ref RSAKeyPair keyPair, byte b) => Convert.ToByte((int)(BaseEncrypter.Encrypt(keyPair, b) % Prime));
public async Task <RSAKeyPair[]> GenerateKeyPairs(int n) => await BaseEncrypter.GenerateKeyPairs(n, Prime);
private byte ConvertByte(ref RSAKeyPair keyPair, byte b) => Convert.ToByte((int)(BaseEncrypter.Encrypt(keyPair, b) % Prime));
public async Task <RSAKeyPair[]> GenerateKeyPairs(int n) => await BaseEncrypter.GenerateKeyPairs(n, Prime);