コード例 #1
0
 public BreakRepeatingKeyXOR(IGetHammingDistance hammingDistance, ISingleByteXORCipher xorCipher, IFixedXOR fixedXOR, IConvertHex convertor)
 {
     _hammingDistance = hammingDistance;
     _xorCipher       = xorCipher;
     _fixedXOR        = fixedXOR;
     _convertor       = convertor;
 }
コード例 #2
0
 public DetectSingleCharacterXOR(ISingleByteXORCipher xorCipher, ConvertHex convertHex)
 {
     _xorCipher  = xorCipher;
     _convertHex = convertHex;
 }