示例#1
0
 public static int CryptoBoxOpenAfternm(byte[] M, byte[] C, long Clen, byte[] N, byte[] K)
 {
     return(Xsalsa20Poly1305.CryptoSecretboxOpen(M, C, Clen, N, K));
 }
示例#2
0
 public static int CryptoBoxAfternm(byte[] C, byte[] M, long Mlen, byte[] N, byte[] K)
 {
     return(Xsalsa20Poly1305.CryptoSecretbox(C, M, Mlen, N, K));
 }