BirthdayAttack.java and output.txt

SuperClass
 (Not rated)
 (Not rated)
Chat

Cryptography/.classpath Cryptography/.project Cryptography/New Text Document.txtìõ@IÎ8ÓCD0á}Ø ®ƒÏ?™’ù}RÙÞ_™  Cryptography/bin/AllTests.class Cryptography/bin/BirthdayAttack.class Cryptography/bin/Cipher.class Cryptography/bin/Comp343Cipher.class Cryptography/bin/Comp343CipherTest.class Cryptography/bin/Crypt.class Cryptography/bin/KeyGenerator.class Cryptography/bin/KeyGeneratorTest.class Cryptography/bin/Permutation.class Cryptography/bin/PermutationTest.class Cryptography/bin/SBox.class Cryptography/bin/SBoxTest.class Cryptography/cipher.txt<ý¯çi!fo/ë4ºZ%f‘‚ZO M Ä Í@á¼¹ Cryptography/plain.txtThis is comp343chipher encryption. Cryptography/src/AllTests.java/** * -- JUnit Test Suite-- * Tests all the cipher methods in making sure they operate correctly */ /** * @author Darcy Le * @stuID 42619424 * @unit COMP343 */ import junit.framework.Test; import junit.framework.TestSuite; public class AllTests { /** * Establishes a set of designated cipher methods that are to be tested * @return all the test suite for all relevant cipher methods */ public static Test suite() { TestSuite suite = new TestSuite(AllTests.class.getName()); //$JUnit-BEGIN$ System.out.println("Welcome to Test Suite for Cipher Methods!"); suite.addTestSuite(Comp343CipherTest.class); suite.addTestSuite(KeyGeneratorTest.class); suite.addTestSuite(PermutationTest.class); suite.addTestSuite(SBoxTest.class); System.out.println(); //$JUnit-END$ return suite; } } Cryptography/src/BirthdayAttack.java/** * -- Birthday Attack Class -- */ /** * @author Darcy Le * @stuID 42619424 * @unit COMP343 * Note: Run the program several times for randomness for collision or no collision */ public class BirthdayAttack { byte [] keyi = new byte[8]; byte [] key= new byte[2]; /** * Function for initialising the key * @param key block * @return true...

    • 10 years ago
    BirthdayAttack.java and output.txt A+ Tutorial use as Guide
    NOT RATED

    Purchase the answer to view it

    • birthdayattack.java_and_output.txt_1.txt
    • birthdayattack.java_and_output.txt_2.txt
    • birthdayattack.java_and_output.txt_3.txt
    • birthdayattack.java_and_output.txt_4.txt
    • birthdayattack.java_and_output.txt_5.txt
    • birthdayattack.java_and_output.txt_6.txt