Implements OFB cipher mode
상속: CipherMode
예제 #1
0
 public void EncryptBlockTest()
 {
     byte[] iv = null; // TODO: Initialize to an appropriate value
     OfbCipherMode target = new OfbCipherMode(iv); // TODO: Initialize to an appropriate value
     byte[] inputBuffer = null; // TODO: Initialize to an appropriate value
     int inputOffset = 0; // TODO: Initialize to an appropriate value
     int inputCount = 0; // TODO: Initialize to an appropriate value
     byte[] outputBuffer = null; // TODO: Initialize to an appropriate value
     int outputOffset = 0; // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.EncryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
예제 #2
0
 public void OfbCipherModeConstructorTest()
 {
     byte[] iv = null; // TODO: Initialize to an appropriate value
     OfbCipherMode target = new OfbCipherMode(iv);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }