Skip to content

Commit 35ba051

Browse files
authored
Update README.md
1 parent 1ddc91e commit 35ba051

1 file changed

Lines changed: 28 additions & 30 deletions

File tree

README.md

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Licensing:
99
Licensed under the Apache License, Version 2.0 (the "License");
1010
you may not use this file except in compliance with the License.
1111
You may obtain a copy of the License at
12-
12+
----------------------------------------------------------------------------------------------------
1313
http://www.apache.org/licenses/LICENSE-2.0
14-
14+
----------------------------------------------------------------------------------------------------
1515
Unless required by applicable law or agreed to in writing, software
1616
distributed under the License is distributed on an "AS IS" BASIS,
1717
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -53,44 +53,42 @@ Enter key into the given array in 32 bit segments, must include "0x" in front of
5353

5454
static int key[] = {0xa56babcd, 0xffffffff, 0xffffffff, 0xabcdef01}; // 128-Bit Key
5555
^ ^ ^ ^
56-
| + | + | + |
57-
key[0](32-bits) key[1](32-bits) key[2](32-bits) key[3](32-bits) = 128 bits total
56+
key[0](32-bits) key[1](32-bits) key[2](32-bits) key[3](32-bits)
57+
= 128 bits total
5858

5959
3) Compile and run, must include package "com.Brian.TeaProgram;" in order to run
6060

6161
***Since they keys and the the plaintext are NOT given by random I have attached some at the bottom
6262
to use these keys can also be found online or generated.
63-
----------------------------------------------------------------------------------------------------
64-
65-
Examples: Cyphertext generated is NOT random. You can use these examples for experimental purposes.
6663

6764
----------------------------------------------------------------------------------------------------
68-
|
69-
Plaintext: 0x123456789abcdef |
70-
|
71-
Key: 0xa56babcdf000ffffffffffffabcdef01 |
72-
|
73-
Cyphertext: 0x7556391b2315d9f8 |
74-
|
75-
----------------------------------------|
76-
|
77-
Plaintext: 0x123456789abcdef |
78-
|
79-
Key: 0xa56babcdffffffffffffffffabcdef01 |
80-
|
81-
Cyphertext: 0xfe18f8f3fcb8dcd3 |
82-
|
83-
----------------------------------------|
84-
|
85-
Plaintext: 0x123456789abcdef |
86-
|
87-
Key: 0xa56babcdffabffffffffffffabcdef01 |
88-
|
89-
Cyphertext: 0x97f78dcf1dba72ba |
65+
Examples: Cyphertext generated is NOT random. You can use these examples for experimental purposes.
9066
----------------------------------------------------------------------------------------------------
67+
68+
Plaintext: 0x123456789abcdef
69+
70+
Key: 0xa56babcdf000ffffffffffffabcdef01
71+
72+
Cyphertext: 0x7556391b2315d9f8
73+
74+
75+
76+
Plaintext: 0x123456789abcdef
77+
78+
Key: 0xa56babcdffffffffffffffffabcdef01
79+
80+
Cyphertext: 0xfe18f8f3fcb8dcd3
81+
82+
83+
84+
Plaintext: 0x123456789abcdef
85+
86+
Key: 0xa56babcdffabffffffffffffabcdef01
87+
88+
Cyphertext: 0x97f78dcf1dba72ba
9189

90+
----------------------------------------------------------------------------------------------------
9291
***This program is in an experimental stage and will be updated in the future. Please send any bugs
9392
or errors to https://github.com/Bri-dot-dev
94-
9593
----------------------------------------------------------------------------------------------------
9694

0 commit comments

Comments
 (0)