Re: Ternary Encoding :-)

Liste des GroupesRevenir à s crypt 
Sujet : Re: Ternary Encoding :-)
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.crypt
Date : 02. Jan 2025, 16:02:38
Autres entêtes
Organisation : To protect and to server
Message-ID : <vl69r0$3vb75$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7 8
User-Agent : flnews/1.3.0pre29 (for GNU/Linux)
Stefan Claas wrote:
Rich wrote:
Stefan Claas <pollux@tilde.club> wrote:
Rich wrote:
Stefan Claas <pollux@tilde.club> wrote:
Rich wrote:
 
Of course, this just brings to the front the OTP key distribution and
key reuse problems.
 
Forgot to mention, not with my programs, because also in this case I
can use for ternary xor encryption deterministic keys, valid for one
day (UTC +0000), so that border control does not find keys. :-)
 
You'll have to explain further, as the above is not nearly enough
explanation to understand what you are discussing.
 
I have made this a standard for some of my programs, because long ago
I thought of key distribution problems and looked for solutions,
which others afaik have not thought of (yet).
 
Further explanation needed.
 
Ok. You talked about key distribution problems with OTPs and management.
 
I have Go programs which can generate as many random keys/pads per day
(UTC +0000) for my programs, based on a shared secret, consisting of
a password and salt.
 
In order that this works Alice and Bob needs only one initial session,
where they transfer with a client/server program, which uses DHE/AES-GCM,
the shared secret via the Tor Network, to bypass third party servers
and NAT etc.
 
Once the shared secret is transfered securely to Alice or Bob, they use
the key generation programs, which are deterministic. This means that
when Alice generates todays pads/keys she does not need to transfer them
to Bob, because Bob has the shared secret and can generate the same
determenistic keys for each day (UTC +0000).
 
This procedure allows either Alice or Bob to travel, without worring that
some border patrol finds pads/keys, for daily usage, or If I would do
encryption with you without sending you pads in advance, via postal
service etc.
 
Then the weakness here is this "generator algorithm".  A OTP is only
perfectly secure if the pads are true random sequences.
 
Deterministic outputs from a seeded generator are not "true random
sequences" so you will not gain the "unbreakable" aspect of a proper
OTP.
 
Will it likely be /good enough/ such that those of us left here are
unlikely to break it: yes.  Will it be good enough that one of the
three-letter-agencies cannot break it: likely no.
 
 
That is old saying , that it is only unbreakable with TRRNG. I believe
that nowadays PRNG can serve the purpose as well, for OTP encryption.
 
What patterns would distinguish a TRNG and PRNG OTP sheet, if a
cryptanalist would look at them, or when looking at a couple of
more sheets? The difference is IMHO none.

Example, 60 dice rolls from random.org and Go's crypto/rand

random.org:
2 4 4 4 4 5 4 6 1 2 2 1 5 6 4
5 6 4 2 2 5 3 6 1 3 1 4 1 6 4
2 1 2 2 2 2 2 2 3 1 1 2 6 1 6
5 1 6 5 5 4 3 1 3 6 6 5 1 3 1

Go crypt/rand:
3 5 6 3 4 5 4 1 1 6 1 5 3 2 4
3 5 1 1 6 5 3 2 3 1 1 6 3 3 3
5 3 6 3 1 2 1 6 1 1 4 1 1 5 5
1 6 3 6 6 1 4 6 1 3 2 2 1 4 1

--
Regards
Stefan

Date Sujet#  Auteur
1 Jan 25 * Ternary Encoding :-)99Stefan Claas
1 Jan 25 +* Re: Ternary Encoding :-)25Stefan Claas
1 Jan 25 i`* Re: Ternary Encoding :-)24Rich
1 Jan 25 i +* Re: Ternary Encoding :-)6Stefan Claas
1 Jan 25 i i+* Re: Ternary Encoding :-)4Stefan Claas
1 Jan 25 i ii+- Re: Ternary Encoding :-)1Stefan Claas
1 Jan 25 i ii`* Re: Ternary Encoding :-)2Rich
11 Jan 25 i ii `- Re: Ternary Encoding :-)1Chris M. Thomasson
1 Jan 25 i i`- Re: Ternary Encoding :-)1Rich
1 Jan 25 i `* Re: Ternary Encoding :-)17Stefan Claas
1 Jan 25 i  `* Re: Ternary Encoding :-)16Rich
2 Jan 25 i   `* Re: Ternary Encoding :-)15Stefan Claas
2 Jan 25 i    `* Re: Ternary Encoding :-)14Rich
2 Jan 25 i     `* Re: Ternary Encoding :-)13Stefan Claas
2 Jan 25 i      +* Re: Ternary Encoding :-)4Stefan Claas
2 Jan 25 i      i`* Re: Ternary Encoding :-)3Rich
3 Jan 25 i      i `* Re: Ternary Encoding :-)2Stefan Claas
3 Jan 25 i      i  `- Re: Ternary Encoding :-)1Rich
2 Jan 25 i      `* Re: Ternary Encoding :-)8Rich
3 Jan 25 i       `* Re: Ternary Encoding :-)7Stefan Claas
3 Jan 25 i        `* Re: Ternary Encoding :-)6Stefan Claas
3 Jan 25 i         +- Re: Ternary Encoding :-)1Rich
3 Jan 25 i         `* Re: Ternary Encoding :-)4Rich
3 Jan 25 i          +- Re: Ternary Encoding :-)1Stefan Claas
8 Jan 25 i          `* Re: Ternary Encoding :-)2Chax Plore
8 Jan 25 i           `- Re: Ternary Encoding :-)1Rich
3 Jan 25 `* Re: Ternary Encoding :-)73Chris M. Thomasson
3 Jan 25  `* Re: Ternary Encoding :-)72Stefan Claas
3 Jan 25   `* Re: Ternary Encoding :-)71Chris M. Thomasson
4 Jan 25    `* xorpng (was: Ternary Encoding :-))70Stefan Claas
4 Jan 25     +- Re: xorpng1Stefan Claas
4 Jan 25     `* Re: xorpng68Chris M. Thomasson
4 Jan 25      `* Re: xorpng67Stefan Claas
4 Jan 25       `* Re: xorpng66Chris M. Thomasson
4 Jan 25        `* Re: xorpng65Chris M. Thomasson
4 Jan 25         `* Re: xorpng64Stefan Claas
4 Jan 25          `* Re: xorpng63Chris M. Thomasson
4 Jan 25           `* Re: xorpng62Stefan Claas
4 Jan 25            +* Re: xorpng53Chris M. Thomasson
5 Jan 25            i`* Re: xorpng52Stefan Claas
5 Jan 25            i `* Re: xorpng51Rich
5 Jan 25            i  `* Re: xorpng50Stefan Claas
5 Jan 25            i   +* Re: xorpng8Chris M. Thomasson
5 Jan 25            i   i`* Re: xorpng7Stefan Claas
5 Jan 25            i   i `* Re: xorpng6Chris M. Thomasson
5 Jan 25            i   i  +- Re: xorpng1Chris M. Thomasson
5 Jan 25            i   i  `* Re: xorpng4Stefan Claas
5 Jan 25            i   i   `* Re: xorpng3Chris M. Thomasson
5 Jan 25            i   i    `* Re: xorpng2Stefan Claas
5 Jan 25            i   i     `- Re: xorpng1Chris M. Thomasson
5 Jan 25            i   `* Re: xorpng41Rich
5 Jan 25            i    +* Re: xorpng36Stefan Claas
5 Jan 25            i    i+* Re: xorpng27Stefan Claas
5 Jan 25            i    ii`* Re: xorpng26Rich
5 Jan 25            i    ii `* Re: xorpng25Stefan Claas
5 Jan 25            i    ii  `* Re: xorpng24Rich
5 Jan 25            i    ii   `* Re: xorpng23Stefan Claas
6 Jan 25            i    ii    +* Re: xorpng21Stefan Claas
6 Jan 25            i    ii    i+* Re: xorpng2Chris M. Thomasson
6 Jan 25            i    ii    ii`- Re: xorpng1Chris M. Thomasson
6 Jan 25            i    ii    i+- Re: xorpng1Chris M. Thomasson
6 Jan 25            i    ii    i`* Re: xorpng17Rich
6 Jan 25            i    ii    i `* Re: xorpng16Stefan Claas
6 Jan 25            i    ii    i  +* Re: xorpng5Stefan Claas
6 Jan 25            i    ii    i  i+* Re: xorpng3Stefan Claas
7 Jan 25            i    ii    i  ii`* Re: xorpng2Jan Panteltje
7 Jan 25            i    ii    i  ii `- Re: xorpng1Stefan Claas
7 Jan 25            i    ii    i  i`- Re: xorpng1Rich
6 Jan 25            i    ii    i  `* Re: xorpng10Rich
7 Jan 25            i    ii    i   `* Re: xorpng9Stefan Claas
7 Jan 25            i    ii    i    `* Re: xorpng8Stefan Claas
11 Jan 25            i    ii    i     `* Re: xorpng7Stefan Claas
11 Jan 25            i    ii    i      `* Re: xorpng6Stefan Claas
11 Jan 25            i    ii    i       `* Re: xorpng5Chris M. Thomasson
11 Jan 25            i    ii    i        +- Re: xorpng1Chris M. Thomasson
11 Jan 25            i    ii    i        `* Re: xorpng3Stefan Claas
12 Jan 25            i    ii    i         `* Re: xorpng2Chris M. Thomasson
5 Mar 25            i    ii    i          `- Re: xorpng1Stefan Claas
6 Jan 25            i    ii    `- Re: xorpng1Rich
5 Jan 25            i    i+- Re: xorpng1Rich
5 Jan 25            i    i`* Re: xorpng7Chris M. Thomasson
5 Jan 25            i    i +* Re: xorpng5Chris M. Thomasson
5 Jan 25            i    i i`* Re: xorpng4Stefan Claas
5 Jan 25            i    i i +* Re: xorpng2Chris M. Thomasson
6 Jan 25            i    i i i`- Re: xorpng1Rich
5 Jan 25            i    i i `- Re: xorpng1Chris M. Thomasson
6 Jan 25            i    i `- Re: xorpng1Rich
10 Feb 25            i    `* Re: xorpng4Richard Heathfield
10 Feb 25            i     +* Re: xorpng2Rich
10 Feb 25            i     i`- Re: xorpng1Richard Heathfield
10 Feb 25            i     `- Re: xorpng1Jan Panteltje
4 Jan 25            `* Re: xorpng8Chris M. Thomasson
4 Jan 25             +* Re: xorpng2Chris M. Thomasson
5 Jan 25             i`- Re: xorpng1Stefan Claas
5 Jan 25             `* Re: xorpng5Stefan Claas
5 Jan 25              `* Re: xorpng4Stefan Claas
5 Jan 25               `* Re: xorpng3Chris M. Thomasson
5 Jan 25                `* Re: xorpng2Stefan Claas
5 Jan 25                 `- Re: xorpng1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal