public static byte[] Create(string message, byte[] recipientPublicKey) { return(SealedPublicKeyBox.Create(Encoding.UTF8.GetBytes(message), recipientPublicKey)); }
public static byte[] Create(byte[] message, KeyPair recipientKeyPair) { return(SealedPublicKeyBox.Create(message, recipientKeyPair.PublicKey)); }