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