do the math, etc... - What about my idea for a private key that only 7 numbers (Alpha…
- User
do the math, etc... - What about my idea for a private key that only 7 numbers (Alpha group identifiers) have to be changed after each message sent whereas both sides could send these encrypted messages. These 7 group identifiers would be protecting the identity of the onetime random order set for each of the 7 Alpha characters within each group. This eliminates any possible outside attack on repeated messages where the identifiers are not changed they may identify where some Alpha characters are located within each group after analyzing many messages. A private key string read from left to right holding 7 random groups of 7 alpha characters and 7 group identifiers placed only in odd count positions of the string. When the scan (read) of the string has reached the end of the string it just starts the scan at the beginning of the string again. This happens as many times as needed for each message. Only one letter can be drawn from any one particular group on each scan. The random order of the 7 group identifiers is only changed after each completed message. The set random order for the Alpha characters within each group of 7 is not changed but could also be. See below. A little further explanation of my 7^2 encryption. 49 Alpha characters = 26*2 = 52 minus one X, one Y, and one Z = 49 Alpha characters and 7 group identifiers 1-7 for a total string length of 56. The encrypted number (group identifier) reads the string from left(start of scan) to right then identifying the same identifier in the ciphertext (odd-numbered position) then the next number in the ciphertext is the Alpha characters position within that group(1-7 positions within all the 7 groups ). Say the first identifier, the start of the encrypted message is 3. The left-right scan (read) stops at 3 then from the next number after the identifier is 5 the alpha character in that position is T or the 5th position of the random Alpha group. So the first letter of the encrypted message is a (T) and so on. Only drawing a limit of one letter from anyone group on every completed scan. Some full scans may only produce as little as 1 o 2 matching letters but moat full scans involve more than 2. Reaching the end of the string and then starting the scan from the start of the string again until each number in the even positions of the encryption has drawn a letter to complete the plain text message.
Example of a private key string --- 2KPMJNOL5VQSUWRT4KHMNJIL6IDCGHFE1BECGFDA3SOQUTRP7YAVXBWZ
And an encrypted public message created from the above private key --- 574267274635574767113626554462326431523446632147712454433767163273673657426727177771663274
This message contains all the letters of the Alphabet.
Just follow the K-I-S-S rules above and you can decrypt it very easily by scanning and comparing the above private key with the public key over and over from left to right. The latter part of the encryption shows 4 -7's but it does not break the rule of 1 letter limit from one particular group per complete scan. So a list of the same numbers in a row is not uncommon in a long encrypted message because one is a group identifier and the next is the position within that group.
- Assistant
The total number of unique permutations (arrangements where order matters) of the digits 1 through 7 is calculated using the factorial of 7, which is (7!).
[ 7! = 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 5040 ]
Therefore, there are 5040 unique combinations of the numbers 1-7 that can serve as group identifiers in your encryption scheme. Since digits 0, 8, and 9 are explicitly excluded and digits are not repeated, all permutations involve only the digits 1 through 7.
Answer: 5040