/// <summary> /// Reset the chaining vector back to the IV and reset the underlying cipher. /// </summary> public override void Reset() { Array.Copy(IV, 0, _cfbV, 0, IV.Length); _cfbOutV.SecureWipe(); BlockCipher.Reset(); }
/// <summary> /// Reset the cipher to the same state as it was after the last init (if there was one). /// </summary> public override void Reset() { if (IV != null) { Array.Copy(IV, 0, _cbcV, 0, IV.Length); } _cbcNextV.SecureWipe(); BlockCipher.Reset(); }
/// <summary> /// Reset the chaining vector back to the IV and reset the underlying cipher. /// </summary> public override void Reset() { Array.Copy(IV, 0, _ofbV, 0, IV.Length); BlockCipher.Reset(); }
/// <inheritdoc /> public override void Reset() { IV.DeepCopy_NoChecks(0, _counter, 0, CipherBlockSize); BlockCipher.Reset(); }