commit 0881598b80fee67eadc41ae7fa18a9c993cdbcdd Author: Rogue-King Date: Thu Oct 3 14:10:19 2024 -0700 first commit diff --git a/HW 1.pdf b/HW 1.pdf new file mode 100644 index 0000000..7e085d3 Binary files /dev/null and b/HW 1.pdf differ diff --git a/HW1.zip b/HW1.zip new file mode 100644 index 0000000..a8de299 Binary files /dev/null and b/HW1.zip differ diff --git a/sample_input.txt b/sample_input.txt new file mode 100644 index 0000000..f5605c1 --- /dev/null +++ b/sample_input.txt @@ -0,0 +1,3 @@ +data_block: 0123456789ABCDEF +key: 133457799BBCDFF1 +operation: encryption \ No newline at end of file diff --git a/sample_output.txt b/sample_output.txt new file mode 100644 index 0000000..cf47aac --- /dev/null +++ b/sample_output.txt @@ -0,0 +1,88 @@ +C0=1111000011001100101010101111 +D0=0101010101100110011110001111 +C1=1110000110011001010101011111 +D1=1010101011001100111100011110 +C2=1100001100110010101010111111 +D2=0101010110011001111000111101 +C3=0000110011001010101011111111 +D3=0101011001100111100011110101 +C4=0011001100101010101111111100 +D4=0101100110011110001111010101 +C5=1100110010101010111111110000 +D5=0110011001111000111101010101 +C6=0011001010101011111111000011 +D6=1001100111100011110101010101 +C7=1100101010101111111100001100 +D7=0110011110001111010101010110 +C8=0010101010111111110000110011 +D8=1001111000111101010101011001 +C9=0101010101111111100001100110 +D9=0011110001111010101010110011 +C10=0101010111111110000110011001 +D10=1111000111101010101011001100 +C11=0101011111111000011001100101 +D11=1100011110101010101100110011 +C12=0101111111100001100110010101 +D12=0001111010101010110011001111 +C13=0111111110000110011001010101 +D13=0111101010101011001100111100 +C14=1111111000011001100101010101 +D14=1110101010101100110011110001 +C15=1111100001100110010101010111 +D15=1010101010110011001111000111 +C16=1111000011001100101010101111 +D16=0101010101100110011110001111 + +K1=000110110000001011101111111111000111000001110010 +K2=011110011010111011011001110110111100100111100101 +K3=010101011111110010001010010000101100111110011001 +K4=011100101010110111010110110110110011010100011101 +K5=011111001110110000000111111010110101001110101000 +K6=011000111010010100111110010100000111101100101111 +K7=111011001000010010110111111101100001100010111100 +K8=111101111000101000111010110000010011101111111011 +K9=111000001101101111101011111011011110011110000001 +K10=101100011111001101000111101110100100011001001111 +K11=001000010101111111010011110111101101001110000110 +K12=011101010111000111110101100101000110011111101001 +K13=100101111100010111010001111110101011101001000001 +K14=010111110100001110110111111100101110011100111010 +K15=101111111001000110001101001111010011111100001010 +K16=110010110011110110001011000011100001011111110101 + +L0=11001100000000001100110011111111 +R0=11110000101010101111000010101010 +L1=11110000101010101111000010101010 +R1=11101111010010100110010101000100 +L2=11101111010010100110010101000100 +R2=11001100000000010111011100001001 +L3=11001100000000010111011100001001 +R3=10100010010111000000101111110100 +L4=10100010010111000000101111110100 +R4=01110111001000100000000001000101 +L5=01110111001000100000000001000101 +R5=10001010010011111010011000110111 +L6=10001010010011111010011000110111 +R6=11101001011001111100110101101001 +L7=11101001011001111100110101101001 +R7=00000110010010101011101000010000 +L8=00000110010010101011101000010000 +R8=11010101011010010100101110010000 +L9=11010101011010010100101110010000 +R9=00100100011111001100011001111010 +L10=00100100011111001100011001111010 +R10=10110111110101011101011110110010 +L11=10110111110101011101011110110010 +R11=11000101011110000011110001111000 +L12=11000101011110000011110001111000 +R12=01110101101111010001100001011000 +L13=01110101101111010001100001011000 +R13=00011000110000110001010101011010 +L14=00011000110000110001010101011010 +R14=11000010100011001001011000001101 +L15=11000010100011001001011000001101 +R15=01000011010000100011001000110100 +L16=01000011010000100011001000110100 +R16=00001010010011001101100110010101 + +Result=85E813540F0AB405