On 05/11/2021 13:47, austin obyrne wrote:
> On Friday, 5 November 2021 at 12:36:03 UTC, DaleT wrote:
>> On Friday, November 5, 2021 at 5:17:07 AM UTC-5, austin obyrne wrote:
>>> A reader asked "Is the change_of_Origin a constant"
>>>
>>> No there are 6 files each containing 0 to 14250 elements
>>>
>> If this large array is going to be be public knowledge, rather than sending it securely
>> as part of a key, then why do it at all.
>
> It is not sent regukarly - it is sent once in a secure one-off delivery
That's fair enough. We'll give Alice and Bob one briefcase chained to
the wrist, because we all saw the movie (or 1970s news reports).
> of the entities' mutual database from Alice to Bob at the very outset of setting up the secure link..
> After that they sybchronise their mutual database whenever Alice (alone) decides.
This is where it gets wobbly.
> Thet do this by Alice sending scrambling parameters to Bob that are useless to Eve
Carry on thinking that, but Eve will disagree. She will collect them avidly.
> should she intercept them not having any knowledge of the Entities' files to which
> the scrambling parameters apply.
She will calculate their cumulative effect. Over time, a pattern will
emerge. She will also be careful to record which pattern is in effect at
the time any given ciphertext is intercepted.
For months, maybe, the accumulated scrambling parameters might yield no
fruit, but Eve will keep recording them, and one day out will pop
something that makes sense in two or three messages, and it will all
start to unravel. No, Austin, this is a crap way to change a large key.
It's a crap way to change a small key, but it's a disastrous way to
change a large key.
You like big numbers. Let's play a game. Imagine a key this big:
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv
256 bytes - almost ten alphabets. Five short lines of text.
How many bits? 256*8 is 2048.
How many keys for brute force? 2^2048 is
32317006071311007300714876688669951960444102669715484032130345427524\
65513886789089319720141152291346368871796092189801949411955915049092\
10950881523864482831206308773673009960917501977503896521067960576383\
84067568276792218642619756161838094338476170470581645852036305042887\
57589154106580860755239912393038552191433338966834242068497478656456\
94948561760353263220580778056593310261927084603141502585928641771167\
25943603718461857357598351152301645904403697613233287231227125684710\
82020972515710172693132346967854258065669793504599726835299863821552\
51663894373355436021354332296046453184786049521481935558536110595962\
30656
Imagine you could run one million tests per second on a single atom, and
that you have the whole universe at your disposal. 10^80 atoms, so 10^86
tests per second.
Time to exhaust the search space (seconds):
32317006071311007300714876688669951960444102669715484032130345427524\
65513886789089319720141152291346368871796092189801949411955915049092\
10950881523864482831206308773673009960917501977503896521067960576383\
84067568276792218642619756161838094338476170470581645852036305042887\
57589154106580860755239912393038552191433338966834242068497478656456\
94948561760353263220580778056593310261927084603141502585928641771167\
25943603718461857357598351152301645904403697613233287231227125684710\
8202097251571017269313234696785425806566979350459972683
The universe is 13.82e9 years old, or 4.3e15 seconds.
So to exhaust the search space of a 256 byte key at a million tests per
atom per second using every atom of the observable universe will take
74150907384900814204469870761419453182864869730382064978664829213916\
21882635564384093322379349269514620994553286102268047258594214172368\
25593027085266398118242530379157814451270773303860886345745125448672\
54063185997965935337492584593644050606249395335525498371549151010215\
17845302900057483187936164272138097638793757142353566999388837713728\
92993452456497614516359081814276689691204182340622966135614019443212\
90091097777537906182698951989772573114253311982761637519418520621898\
360639835587027012271559789704290772314 universe lifetimes, by which
time the news that the enemy will be attacking at dawn might be a touch
outdated.
Conclusion: nobody, but *nobody*, can possibly justify having a key
bigger than 256 bytes - less than you can write in five short lines of
text. Your key of 14,000 numbers (and that's just one of six files,
yes?) is stupendously and ridiculously large, and is a huge hostage to
fortune.