Exemplo n.º 1
0
        private void CountMessagesToBirthdatyAttack()
        {
            var hashes = HashManager.GetListOfAvailableFunctions();

            messagesToBirthdayAttack = new BigInteger[hashes.Count];
            for (int i = 0; i < hashes.Count; i++)
            {
                messagesToBirthdayAttack[i] = Helpers.CountBirthdayMessages(hashes[i].HashLength * 8);
            }
        }
Exemplo n.º 2
0
 private void LoadHashList()
 {
     ListOfHashes.ItemsSource = HashManager.GetListOfAvailableFunctions();
 }