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); } }
private void LoadHashList() { ListOfHashes.ItemsSource = HashManager.GetListOfAvailableFunctions(); }