public AesEGBuildRequestRecord(EGBuildRequestRecord src, BufferedBlockCipher cipher) { Data = new BufLen(cipher.ProcessBytes(src.Data.BaseArray, src.Data.BaseArrayOffset, src.Data.Length)); }
public BuildResponseRecord(EGBuildRequestRecord request) { // Replace it Data = request.Data; Data.Randomize(); }
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); }