java des 0101110011110001000011010001111111011001001111010001100111001100 0101111111011001001111010001110011110001111100010011110100001111 00100111111001111110001110000011 110000111000001111111101111111110000000011100110 100101010101010110101010111111000001111011100101 010001111110101000001110111010100010101011000000 00100011100010100000111101000111 0001110011110001111100011110011111100011111100010000110110001010 001000110001111111100101111111110000000000010101 1110101000001110111010100001010110101001110111111101010100000111 Start testing ... Testing DES key schedule ... The key for testing is: 0101110011110001000011010001111111011001001111010001100111001100 The round keys generated are: round key1: 10100011 11000000 11001000 11001101 11011100 00100101 round key2: 11010100 00110000 10011011 00111001 11011010 01111000 round key3: 00110111 10001110 01000000 11010001 11111100 00110010 round key4: 01001010 01111000 10000110 10101101 00101110 00111100 round key5: 00111000 10100101 01011100 10111001 01111010 11010110 round key6: 01000100 01000100 00101011 00110101 11000010 10110111 round key7: 11100011 10001001 00110100 10010111 00101100 11000111 round key8: 10001100 10101010 10000011 10101110 10100011 11010101 round key9: 11101001 00000011 01000110 11110111 00100000 10101011 round key10: 00100000 11011010 10001101 01100110 00111011 01001111 round key11: 00010001 00110001 01110010 00110110 10110001 11111110 round key12: 10100100 01001100 11110001 01100101 10011101 11100011 round key13: 11010111 01100011 00000100 01001110 10101100 01111011 round key14: 00001010 10010111 10010001 01101111 11011101 01011100 round key15: 01011101 00010000 01101111 00001001 11010101 11111010 round key16: 00001001 10001111 10111000 11011100 01111111 01111000 round key17: 11010100 00110000 10011011 00111001 11011010 01111000 round key18: 00110111 10001110 01000000 11010001 11111100 00110010 Testing Initial Permutation ... The block for testing is: 0101111111011001001111010001110011110001111100010011110100001111 The block after Initial Permutation is: 00110011 01111111 11001101 11110111 00110010 01110100 11001111 10000001 Testing Expansion Function ... The bit string for testing is: 00100111111001111110001110000011 The bit string after Expansion is: 10010000 11111111 00001111 11110000 01111100 00000110 Testing XOR Function ... The bit strings for testing are: 110000111000001111111101111111110000000011100110 and 100101010101010110101010111111000001111011100101 The result after XOR is: 01010110 11010110 01010111 00000011 00011110 00000011 Testing SboxesSubstitution Function ... The bit string for testing is: 010001111110101000001110111010100010101011000000 The bit string after Substitution is: 10101111 10001010 00111110 01001101 Testing Permutation Function ... The bit string for testing is: 00100011100010100000111101000111 The bit string after Permutation is: 01010000 01110010 01101011 01101000 Testing One_Round Function ... The test input for one round is: 0001110011110001111100011110011111100011111100010000110110001010 The corresponding round key is: 001000110001111111100101111111110000000000010101 The result of one round: 11100011 11110001 00001101 10001010 11110011 11110000 01001010 11011110 Testing Inverse Initial Permutation ... The bit string for testing is: 1110101000001110111010100001010110101001110111111101010100000111 The bit string after Inverse Initial Permutation is: 10101011 01110110 00111011 11110100 00101001 11000100 01101100 11101100 Testing encryption Function ... The plain text to be encrypted is: 0101111111011001001111010001110011110001111100010011110100001111 The key for encryption is: 0101110011110001000011010001111111011001001111010001100111001100 The cypher text is: 10010001 11011110 11110101 11001110 11001001 11011111 10100101 00010100 Testing decryption Function ... The cypher text to be decrypted is: 10010001 11011110 11110101 11001110 11001001 11011111 10100101 00010100 The key for decryption is: 0101110011110001000011010001111111011001001111010001100111001100 Decrypt and get the plain text: 01011111 11011001 00111101 00011100 11110001 11110001 00111101 00001111