Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

If the code and the comments disagree, then both are probably wrong. -- Norm Schryer


devel / sci.crypt / Re: Manually generating a key with dice

SubjectAuthor
* Manually generating a key with diceStefan Claas
+* Re: Manually generating a key with diceChax Plore
|`* Re: Manually generating a key with diceStefan Claas
| `* Re: Manually generating a key with diceRich
|  `* Re: Manually generating a key with diceStefan Claas
|   `* Re: Manually generating a key with diceBen Bacarisse
|    `- Re: Manually generating a key with diceStefan Claas
+* Re: Manually generating a key with diceRich
|`- Re: Manually generating a key with diceStefan Claas
`* Re: Manually generating a key with diceChris M. Thomasson
 `* Re: Manually generating a key with diceStefan Claas
  `* Re: Manually generating a key with diceRich
   +- Re: Manually generating a key with diceStefan Claas
   `- Re: Manually generating a key with diceChris M. Thomasson

1
Manually generating a key with dice

<us2g2i$lhs0$1@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=840&group=sci.crypt#840

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Manually generating a key with dice
Date: Sun, 3 Mar 2024 19:38:09 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us2g2i$lhs0$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 18:38:10 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="706432"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Gemini: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: Stefan Claas - Sun, 3 Mar 2024 18:38 UTC

Hi all,

is there a common practice, all agree on, to generate
pads (numeric or alphabetic), with two six-sided dices?

I saw this here and I like it, but wonder if there is an
agreed standard for rolling two dices, to obtain digits,
from 0-25, or letters from A-Z.

<https://github.com/sa6mwa/krypto431?tab=readme-ov-file#manually-generating-a-key-with-dice>

I ask, because I have now the Diana Cryptosystem in GO
and if users would like to manually generate the pads,
for it. I normally use wooden tiles, for the letters.

Regards
Stefan
--
----Ed25519 Signature----
5799258d0e3bddac29b8191c8a48789b868027e518eab90eef857deafe39231e
02d62f02628d61c3e18ed6e1ef0fa465f740d6497aa33e3a6680b59e7926b106

Re: Manually generating a key with dice

<us2h2k$lont$1@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=841&group=sci.crypt#841

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: ftilojim@tznvy.pbz (Chax Plore)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 19:55:14 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us2h2k$lont$1@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
Reply-To: ftilojim@tznvy.pbz
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 18:55:16 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="713469"; mail-complaints-to="usenet@i2pn2.org";
posting-account="5D73dK+H7GjKFvIMhrW+/Y4rYhlPmfLmJxEmTeWyt8M";
Content-Language: en-GB
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <us2g2i$lhs0$1@i2pn2.org>
 by: Chax Plore - Sun, 3 Mar 2024 18:55 UTC

Hi,

My suggestion, which is probably "information-theoretically correct" is
to simply base-convert the "base 6" sequence of dice digits to base
required (base 10 or base 26 or any other base) and then delete the
first sign of result (which will be biased, because first sign of output
base - the "zero" of given base - will never appear on first place).

It is easy to adapt this arbitrary base converter to "dice base" of
digits 1-6 and then get all output bases needed:

https://github.com/zamicol/BaseConverter

On 2024-03-03 19:38, Stefan Claas wrote:
>
> is there a common practice, all agree on, to generate
> pads (numeric or alphabetic), with two six-sided dices?
>

--

-----BEGIN PGP PUBLIC KEY FINGERPRINT-----
5745 807C 2B82 14D8 AB06 422C 8876 5DFC 2A51 778C
------END PGP PUBLIC KEY FINGERPRINT------

Re: Manually generating a key with dice

<us2jrb$lscu$1@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=842&group=sci.crypt#842

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 20:42:32 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us2jrb$lscu$1@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2h2k$lont$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 19:42:35 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="717214"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Gemini: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: Stefan Claas - Sun, 3 Mar 2024 19:42 UTC

Chax Plore wrote:

> Hi,
>
> My suggestion, which is probably "information-theoretically correct"
> is to simply base-convert the "base 6" sequence of dice digits to
> base required (base 10 or base 26 or any other base) and then delete
> the first sign of result (which will be biased, because first sign of
> output base - the "zero" of given base - will never appear on first
> place).
>
> It is easy to adapt this arbitrary base converter to "dice base" of
> digits 1-6 and then get all output bases needed:
>
> https://github.com/zamicol/BaseConverter

Hi thanks for your suggestion!

I must admit I do not fully understand, language barrier, but will
translate your steps and see how it works, i.e. if the procedure is
to time consuming; compared to my wooden tiles procedure, or any
other solution, which may come up here.

Regards
Stefan
--
----Ed25519 Signature----
2cd286e9aad4060685772c8099b9c7459788eada3f36554e94214bd8ccd6a2e8
a74c2d531492aa760ea5eaa6e0f63605f3c8cc23eebbfc4288f681614f13f808

Re: Manually generating a key with dice

<us2kh8$2lo5q$2@dont-email.me>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=843&group=sci.crypt#843

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 19:54:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <us2kh8$2lo5q$2@dont-email.me>
References: <us2g2i$lhs0$1@i2pn2.org> <us2h2k$lont$1@i2pn2.org> <us2jrb$lscu$1@i2pn2.org>
Injection-Date: Sun, 3 Mar 2024 19:54:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="567cf9843216773ed301ab70161f1724";
logging-data="2810042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8ITVMtT6d1LVMrWlPyTzj"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:J18PhUDbIvXYfZLvroR5KHOmADM=
 by: Rich - Sun, 3 Mar 2024 19:54 UTC

Stefan Claas <pollux@tilde.club> wrote:
> Chax Plore wrote:
>
>> Hi,
>>
>> My suggestion, which is probably "information-theoretically correct"
>> is to simply base-convert the "base 6" sequence of dice digits to
>> base required (base 10 or base 26 or any other base) and then delete
>> the first sign of result (which will be biased, because first sign of
>> output base - the "zero" of given base - will never appear on first
>> place).
>>
>> It is easy to adapt this arbitrary base converter to "dice base" of
>> digits 1-6 and then get all output bases needed:
>>
>> https://github.com/zamicol/BaseConverter
>
> Hi thanks for your suggestion!
>
> I must admit I do not fully understand, language barrier, but will
> translate your steps and see how it works, i.e. if the procedure is
> to time consuming; compared to my wooden tiles procedure, or any
> other solution, which may come up here.

A six sided die provdes numerals 1 to 6.

This can also be viewed as a "base-6" numeral (0 to 5), scaled by
adding one.

So each dice roll produces one digit of a base-6 numeral. If you want
a four digit base-6 numeral, roll one die four times in a row,
recording each (adjusted by -1 for each roll to aquire numerals 0-5,
made up values below, I did not actually roll a die):

3520 (base-6)

Then, convert to your "base of choice" (6^0 left on for symmetry,
parens added to make the precedence explicit below):

3*(6^3) + 5*(6^2) + 2*(6^1) + 0*(6^0) = 840 (base 10)

Re: Manually generating a key with dice

<us2kn5$2lo5q$3@dont-email.me>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=844&group=sci.crypt#844

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 19:57:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <us2kn5$2lo5q$3@dont-email.me>
References: <us2g2i$lhs0$1@i2pn2.org>
Injection-Date: Sun, 3 Mar 2024 19:57:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="567cf9843216773ed301ab70161f1724";
logging-data="2810042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HJj4PKzCVMX6RHBmbRcUy"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:AhBQIKPxB7TxKwZW4offFx4VWdo=
 by: Rich - Sun, 3 Mar 2024 19:57 UTC

Stefan Claas <pollux@tilde.club> wrote:
> is there a common practice, all agree on, to generate
> pads (numeric or alphabetic), with two six-sided dices?

"common" as in most people are aware of and know about, doubtful,
otherwise some of the few of us left lurking here might "know about
it".

The closest that comes to mind is the diceware password generation
system:

https://en.wikipedia.org/wiki/Diceware

However, do note that if you "sum" the numbers from the roll of two
dice, that the result will have a bias peak at seven. Graphing the
"bias" will look a lot like a statistical normal distribution curve,
with the peak of the graph at seven.

Re: Manually generating a key with dice

<us2n83$m0d8$1@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=847&group=sci.crypt#847

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 21:40:34 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us2n83$m0d8$1@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2h2k$lont$1@i2pn2.org>
<us2jrb$lscu$1@i2pn2.org>
<us2kh8$2lo5q$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 20:40:36 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="721320"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Gemini: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: Stefan Claas - Sun, 3 Mar 2024 20:40 UTC

Rich wrote:

> Stefan Claas <pollux@tilde.club> wrote:
> > Chax Plore wrote:
> >
> >> Hi,
> >>
> >> My suggestion, which is probably "information-theoretically
> >> correct" is to simply base-convert the "base 6" sequence of dice
> >> digits to base required (base 10 or base 26 or any other base) and
> >> then delete the first sign of result (which will be biased,
> >> because first sign of output base - the "zero" of given base -
> >> will never appear on first place).
> >>
> >> It is easy to adapt this arbitrary base converter to "dice base"
> >> of digits 1-6 and then get all output bases needed:
> >>
> >> https://github.com/zamicol/BaseConverter
> >
> > Hi thanks for your suggestion!
> >
> > I must admit I do not fully understand, language barrier, but will
> > translate your steps and see how it works, i.e. if the procedure is
> > to time consuming; compared to my wooden tiles procedure, or any
> > other solution, which may come up here.
>
> A six sided die provdes numerals 1 to 6.
>
> This can also be viewed as a "base-6" numeral (0 to 5), scaled by
> adding one.
>
> So each dice roll produces one digit of a base-6 numeral. If you
> want a four digit base-6 numeral, roll one die four times in a row,
> recording each (adjusted by -1 for each roll to aquire numerals 0-5,
> made up values below, I did not actually roll a die):
>
> 3520 (base-6)
>
> Then, convert to your "base of choice" (6^0 left on for symmetry,
> parens added to make the precedence explicit below):
>
> 3*(6^3) + 5*(6^2) + 2*(6^1) + 0*(6^0) = 840 (base 10)

Ah, ok! Now I understand. Thanks for explaining, much appreciated.

Regards
Stefan
--
----Ed25519 Signature----
f19516ee67b1720bff4aca3ad5f092af9a23b7043a98705ec29995cd6c1476e8
10be0efa846677662f4a3721da72186e887c0d7e126e3a0d02c7220e7d4d9801

Re: Manually generating a key with dice

<us2nl7$m0d8$2@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=848&group=sci.crypt#848

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 21:47:34 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us2nl7$m0d8$2@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2kn5$2lo5q$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 20:47:35 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="721320"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Gemini: tilde.club/~pollux/
 by: Stefan Claas - Sun, 3 Mar 2024 20:47 UTC

Rich wrote:

> Stefan Claas <pollux@tilde.club> wrote:
> > is there a common practice, all agree on, to generate
> > pads (numeric or alphabetic), with two six-sided dices?
>
> "common" as in most people are aware of and know about, doubtful,
> otherwise some of the few of us left lurking here might "know about
> it".

Well, ok.
> The closest that comes to mind is the diceware password generation
> system:
>
> https://en.wikipedia.org/wiki/Diceware
>
> However, do note that if you "sum" the numbers from the roll of two
> dice, that the result will have a bias peak at seven. Graphing the
> "bias" will look a lot like a statistical normal distribution curve,
> with the peak of the graph at seven.

Thanks for the info. I would not "sum" the results, to avoid what you
said, but do in in a way, described in my URL, if nobody can show
another solution, or use my wooden tiles, for letters.

Regards
Stefan
--
----Ed25519 Signature----
6d1223ef9bd2ea495711b031c267a4eac9a5c2ad1b71bf90432b713f3a29c838
296eaceddac960aa1a701898fbaa5308cf5b58bc171060a2af7d6b1b65531d0f

Re: Manually generating a key with dice

<us2rn0$2n6h3$4@dont-email.me>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=849&group=sci.crypt#849

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Sun, 3 Mar 2024 13:56:48 -0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <us2rn0$2n6h3$4@dont-email.me>
References: <us2g2i$lhs0$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 21:56:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="94e9d5597f4e0fa95e2b2f85a560c55a";
logging-data="2857507"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jO7KH1uDDCcUHva/+8f4QdlKBQb0oCVQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rYJ+j9UDUxCSC4z1O14RRuBgVxw=
Content-Language: en-US
In-Reply-To: <us2g2i$lhs0$1@i2pn2.org>
 by: Chris M. Thomasson - Sun, 3 Mar 2024 21:56 UTC

On 3/3/2024 10:38 AM, Stefan Claas wrote:
> Hi all,
>
> is there a common practice, all agree on, to generate
> pads (numeric or alphabetic), with two six-sided dices?
>
> I saw this here and I like it, but wonder if there is an
> agreed standard for rolling two dices, to obtain digits,
> from 0-25, or letters from A-Z.
>
> <https://github.com/sa6mwa/krypto431?tab=readme-ov-file#manually-generating-a-key-with-dice>
>
> I ask, because I have now the Diana Cryptosystem in GO
> and if users would like to manually generate the pads,
> for it. I normally use wooden tiles, for the letters.

Might as well bust out some D&D die. Hex die is a fun one. Put a lot of
hex die in a box. Shake it up.... Cut a little hole in the box and let
out one die at a time.... ;^)

Re: Manually generating a key with dice

<us4tjt$opjk$3@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=856&group=sci.crypt#856

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Mon, 4 Mar 2024 17:41:31 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us4tjt$opjk$3@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2rn0$2n6h3$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 4 Mar 2024 16:41:33 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="812660"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Gemini: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: Stefan Claas - Mon, 4 Mar 2024 16:41 UTC

Chris M. Thomasson wrote:

> On 3/3/2024 10:38 AM, Stefan Claas wrote:
> > Hi all,
> >
> > is there a common practice, all agree on, to generate
> > pads (numeric or alphabetic), with two six-sided dices?
> >
> > I saw this here and I like it, but wonder if there is an
> > agreed standard for rolling two dices, to obtain digits,
> > from 0-25, or letters from A-Z.
> >
> > <https://github.com/sa6mwa/krypto431?tab=readme-ov-file#manually-generating-a-key-with-dice>
> >
> > I ask, because I have now the Diana Cryptosystem in GO
> > and if users would like to manually generate the pads,
> > for it. I normally use wooden tiles, for the letters.
>
> Might as well bust out some D&D die. Hex die is a fun one. Put a lot
> of hex die in a box. Shake it up.... Cut a little hole in the box and
> let out one die at a time.... ;^)
>

How does a hex die look like? I have not found any reference, via
Google.

Regards
Stefan
--
----Ed25519 Signature----
08551d9e83af1379228d28c46503f0a630d652a20259957142f21f2d0c416a60
989c6e082d83520575808d76509c766655550be3ef989214528b6dbb88824405

Re: Manually generating a key with dice

<us5c2m$3b95j$2@dont-email.me>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=857&group=sci.crypt#857

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Mon, 4 Mar 2024 20:48:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <us5c2m$3b95j$2@dont-email.me>
References: <us2g2i$lhs0$1@i2pn2.org> <us2rn0$2n6h3$4@dont-email.me> <us4tjt$opjk$3@i2pn2.org>
Injection-Date: Mon, 4 Mar 2024 20:48:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0e08ab1718affbdd511667dec2677100";
logging-data="3515571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/u+DanI6xv2nalvbFm7n+r"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:q7afMvfJP3yHFxuOoEhDBhkzEC8=
 by: Rich - Mon, 4 Mar 2024 20:48 UTC

Stefan Claas <pollux@tilde.club> wrote:
> Chris M. Thomasson wrote:
>
>> On 3/3/2024 10:38 AM, Stefan Claas wrote:
>> > Hi all,
>> >
>> > is there a common practice, all agree on, to generate
>> > pads (numeric or alphabetic), with two six-sided dices?
>> >
>> > I saw this here and I like it, but wonder if there is an
>> > agreed standard for rolling two dices, to obtain digits,
>> > from 0-25, or letters from A-Z.
>> >
>> > <https://github.com/sa6mwa/krypto431?tab=readme-ov-file#manually-generating-a-key-with-dice>
>> >
>> > I ask, because I have now the Diana Cryptosystem in GO and if
>> > users would like to manually generate the pads, for it. I
>> > normally use wooden tiles, for the letters.
>>
>> Might as well bust out some D&D die. Hex die is a fun one. Put a
>> lot of hex die in a box. Shake it up.... Cut a little hole in the
>> box and let out one die at a time.... ;^)
>
> How does a hex die look like? I have not found any reference, via
> Google.

If Chris means a 16 sided die, hen something approximating these
images:

https://www.diceemporium.com/product-category/16-sided-dice/

Re: Manually generating a key with dice

<87o7btk6xm.fsf@bsb.me.uk>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=859&group=sci.crypt#859

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben Bacarisse)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Mon, 04 Mar 2024 21:45:09 +0000
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <87o7btk6xm.fsf@bsb.me.uk>
References: <us2g2i$lhs0$1@i2pn2.org> <us2h2k$lont$1@i2pn2.org>
<us2jrb$lscu$1@i2pn2.org> <us2kh8$2lo5q$2@dont-email.me>
<us2n83$m0d8$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="55b12cd97f483f0b07ab5f700525753a";
logging-data="3537975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SoE6kCmZ6z/EAzbcvLx+U6/DvoGN/qTY="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:wLPRzK2Fbm6TmodqjOAM2coujp8=
sha1:8P0bkq/I8ByO+wv4oFp2b80dysI=
X-BSB-Auth: 1.3c72820a6f1f443ce489.20240304214509GMT.87o7btk6xm.fsf@bsb.me.uk
 by: Ben Bacarisse - Mon, 4 Mar 2024 21:45 UTC

Stefan Claas <pollux@tilde.club> writes:

> Rich wrote:
>
>> Stefan Claas <pollux@tilde.club> wrote:
>> > Chax Plore wrote:
>> >
>> >> Hi,
>> >>
>> >> My suggestion, which is probably "information-theoretically
>> >> correct" is to simply base-convert the "base 6" sequence of dice
>> >> digits to base required (base 10 or base 26 or any other base) and
>> >> then delete the first sign of result (which will be biased,
>> >> because first sign of output base - the "zero" of given base -
>> >> will never appear on first place).
>> >>
>> >> It is easy to adapt this arbitrary base converter to "dice base"
>> >> of digits 1-6 and then get all output bases needed:
>> >>
>> >> https://github.com/zamicol/BaseConverter
>> >
>> > Hi thanks for your suggestion!
>> >
>> > I must admit I do not fully understand, language barrier, but will
>> > translate your steps and see how it works, i.e. if the procedure is
>> > to time consuming; compared to my wooden tiles procedure, or any
>> > other solution, which may come up here.
>>
>> A six sided die provdes numerals 1 to 6.
>>
>> This can also be viewed as a "base-6" numeral (0 to 5), scaled by
>> adding one.
>>
>> So each dice roll produces one digit of a base-6 numeral. If you
>> want a four digit base-6 numeral, roll one die four times in a row,
>> recording each (adjusted by -1 for each roll to aquire numerals 0-5,
>> made up values below, I did not actually roll a die):
>>
>> 3520 (base-6)
>>
>> Then, convert to your "base of choice" (6^0 left on for symmetry,
>> parens added to make the precedence explicit below):
>>
>> 3*(6^3) + 5*(6^2) + 2*(6^1) + 0*(6^0) = 840 (base 10)
>
> Ah, ok! Now I understand. Thanks for explaining, much appreciated.

Just a quick side note... Just two dice (or two rolls of one die) gives
you 36 different outcomes. That's neat if you want to generate English
letters and digits. You don't need to do the base conversion if you
just agree on a grid:

| 1 2 3 4 5 6
--+------------
1 | A B C D E F
2 | G H I J K L
3 | M N O P Q R
4 | S T U V W X
5 | Y Z 0 1 2 3
6 | 4 5 6 7 8 9

First roll picks the row, second roll picks the column.

--
Ben.

Re: Manually generating a key with dice

<us6opu$r9as$1@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=860&group=sci.crypt#860

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Tue, 5 Mar 2024 10:31:42 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us6opu$r9as$1@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2h2k$lont$1@i2pn2.org>
<us2jrb$lscu$1@i2pn2.org>
<us2kh8$2lo5q$2@dont-email.me>
<us2n83$m0d8$1@i2pn2.org>
<87o7btk6xm.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 09:31:42 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="894300"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Gemini: tilde.club/~pollux/
 by: Stefan Claas - Tue, 5 Mar 2024 09:31 UTC

Ben Bacarisse wrote:

> Stefan Claas <pollux@tilde.club> writes:
>
> > Rich wrote:
> >> > I must admit I do not fully understand, language barrier, but
> >> > will translate your steps and see how it works, i.e. if the
> >> > procedure is to time consuming; compared to my wooden tiles
> >> > procedure, or any other solution, which may come up here.
> >>
> >> A six sided die provdes numerals 1 to 6.
> >>
> >> This can also be viewed as a "base-6" numeral (0 to 5), scaled by
> >> adding one.
> >>
> >> So each dice roll produces one digit of a base-6 numeral. If you
> >> want a four digit base-6 numeral, roll one die four times in a
> >> row, recording each (adjusted by -1 for each roll to aquire
> >> numerals 0-5, made up values below, I did not actually roll a die):
> >>
> >> 3520 (base-6)
> >>
> >> Then, convert to your "base of choice" (6^0 left on for symmetry,
> >> parens added to make the precedence explicit below):
> >>
> >> 3*(6^3) + 5*(6^2) + 2*(6^1) + 0*(6^0) = 840 (base 10)
> >
> > Ah, ok! Now I understand. Thanks for explaining, much appreciated.
>
> Just a quick side note... Just two dice (or two rolls of one die)
> gives you 36 different outcomes. That's neat if you want to generate
> English letters and digits. You don't need to do the base conversion
> if you just agree on a grid:
>
> | 1 2 3 4 5 6
> --+------------
> 1 | A B C D E F
> 2 | G H I J K L
> 3 | M N O P Q R
> 4 | S T U V W X
> 5 | Y Z 0 1 2 3
> 6 | 4 5 6 7 8 9
>
> First roll picks the row, second roll picks the column.

Thank you! That is a very nice, even if one has only one dice. :-)

Regards
Stefan
--
----Ed25519 Signature----
4a9a7aacce9508d13132e194dd9f9ebe9a46ca63c5bd6f45e8759f1bbb998b18
668e398f7f8fafa3c0eb62faec376e40257ad6d2f123afda3a61dda211384902

Re: Manually generating a key with dice

<us6ov9$r9as$2@i2pn2.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=861&group=sci.crypt#861

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Tue, 5 Mar 2024 10:34:33 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <us6ov9$r9as$2@i2pn2.org>
References: <us2g2i$lhs0$1@i2pn2.org>
<us2rn0$2n6h3$4@dont-email.me>
<us4tjt$opjk$3@i2pn2.org>
<us5c2m$3b95j$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 09:34:33 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="894300"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Gemini: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: Stefan Claas - Tue, 5 Mar 2024 09:34 UTC

Rich wrote:

> Stefan Claas <pollux@tilde.club> wrote:
> > Chris M. Thomasson wrote:

> >> Might as well bust out some D&D die. Hex die is a fun one. Put a
> >> lot of hex die in a box. Shake it up.... Cut a little hole in
> >> the box and let out one die at a time.... ;^)
> >
> > How does a hex die look like? I have not found any reference, via
> > Google.
>
> If Chris means a 16 sided die, hen something approximating these
> images:
>
> https://www.diceemporium.com/product-category/16-sided-dice/

Ah, ok. Thank you!

Regards
Stefan
--
----Ed25519 Signature----
7af21b4a8bbe9e486c53f5cb7c36e22d79bccdb8d98cc16df2083eb0e4bd3b4d
bc49c9b938f664f13d1adc7aa21f6f6b823ee8429e9cb3f08f8c9c2830bf290c

Re: Manually generating a key with dice

<utipmc$2i6qv$4@dont-email.me>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=876&group=sci.crypt#876

  copy link   Newsgroups: sci.crypt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: sci.crypt
Subject: Re: Manually generating a key with dice
Date: Thu, 21 Mar 2024 19:16:44 -0700
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <utipmc$2i6qv$4@dont-email.me>
References: <us2g2i$lhs0$1@i2pn2.org> <us2rn0$2n6h3$4@dont-email.me>
<us4tjt$opjk$3@i2pn2.org> <us5c2m$3b95j$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Mar 2024 02:16:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1dc3221c1e8ed953d6c9b3654fc414ab";
logging-data="2693983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gLGEHpW53kTpsZjKYfwHtpuLMf3pGnTs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Bt4ikaBLSNxWKiAl12KVtcQ4Rhw=
In-Reply-To: <us5c2m$3b95j$2@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Fri, 22 Mar 2024 02:16 UTC

On 3/4/2024 12:48 PM, Rich wrote:
> Stefan Claas <pollux@tilde.club> wrote:
>> Chris M. Thomasson wrote:
>>
>>> On 3/3/2024 10:38 AM, Stefan Claas wrote:
>>>> Hi all,
>>>>
>>>> is there a common practice, all agree on, to generate
>>>> pads (numeric or alphabetic), with two six-sided dices?
>>>>
>>>> I saw this here and I like it, but wonder if there is an
>>>> agreed standard for rolling two dices, to obtain digits,
>>>> from 0-25, or letters from A-Z.
>>>>
>>>> <https://github.com/sa6mwa/krypto431?tab=readme-ov-file#manually-generating-a-key-with-dice>
>>>>
>>>> I ask, because I have now the Diana Cryptosystem in GO and if
>>>> users would like to manually generate the pads, for it. I
>>>> normally use wooden tiles, for the letters.
>>>
>>> Might as well bust out some D&D die. Hex die is a fun one. Put a
>>> lot of hex die in a box. Shake it up.... Cut a little hole in the
>>> box and let out one die at a time.... ;^)
>>
>> How does a hex die look like? I have not found any reference, via
>> Google.
>
> If Chris means a 16 sided die, hen something approximating these
> images:
>
> https://www.diceemporium.com/product-category/16-sided-dice/

Ding! You got it.


devel / sci.crypt / Re: Manually generating a key with dice

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor