public BreakRepeatingKeyXOR(IGetHammingDistance hammingDistance, ISingleByteXORCipher xorCipher, IFixedXOR fixedXOR, IConvertHex convertor) { _hammingDistance = hammingDistance; _xorCipher = xorCipher; _fixedXOR = fixedXOR; _convertor = convertor; }
public virtual void SetUp() { _fixedXOR = new FixedXOR(); }
public SingleByteXORCipher(IFixedXOR fixedXOR) { _fixedXOR = fixedXOR; _scores = ConstructSoreingDictionary(); }
public RepeatingKeyXOR(IFixedXOR fixedXOR) { _fixedXOR = fixedXOR; }