Esempio n. 1
0
 public static void ComputeSHA256(byte[] input, int inputLength, byte[] output32, int outputOffset)
 {
     SHA.ComputeSHA256(input, inputLength, output32, outputOffset, ref tmp1, ref tmp4);
 }
Esempio n. 2
0
 public static void ComputeHmacSha256(ByteBuffer key, ByteBuffer data, byte[] dst, int dstOffset)
 {
     SHA.ComputeHMAC_SHA256(key, data, new ByteBuffer(dst, dstOffset, 32), ref tmp1, ref tmp2, ref tmp3, ref tmp4);
 }