예제 #1
0
 public AesEGBuildRequestRecord(EGBuildRequestRecord src, BufferedBlockCipher cipher)
 {
     Data = new BufLen(cipher.ProcessBytes(src.Data.BaseArray, src.Data.BaseArrayOffset, src.Data.Length));
 }
예제 #2
0
 public BuildResponseRecord(EGBuildRequestRecord request)
 {
     // Replace it
     Data = request.Data;
     Data.Randomize();
 }
예제 #3
0
 public AesEGBuildRequestRecord(BufLen dest, EGBuildRequestRecord src, BufferedBlockCipher cipher)
 {
     Data = dest;
     cipher.ProcessBytes(src.Data.BaseArray, src.Data.BaseArrayOffset, src.Data.Length, Data.BaseArray, Data.BaseArrayOffset);
 }