OCTADE |
mail  files  register  groups  login |
1 |
<us2g2i$lhs0$1@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=282&group=sci.crypt#282
copy link Newsgroups: sci.cryptHi 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
<us2h2k$lont$1@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=283&group=sci.crypt#283
copy link Newsgroups: sci.cryptHi,
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------
<us2jrb$lscu$1@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=284&group=sci.crypt#284
copy link Newsgroups: sci.cryptChax 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
<us2kh8$2lo5q$2@dont-email.me>
copy midhttps://news.octade.net/USENET/article-flat.php?id=285&group=sci.crypt#285
copy link Newsgroups: sci.cryptStefan 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)
<us2kn5$2lo5q$3@dont-email.me>
copy midhttps://news.octade.net/USENET/article-flat.php?id=286&group=sci.crypt#286
copy link Newsgroups: sci.cryptStefan 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.
<us2n83$m0d8$1@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=289&group=sci.crypt#289
copy link Newsgroups: sci.cryptRich 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
<us2nl7$m0d8$2@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=290&group=sci.crypt#290
copy link Newsgroups: sci.cryptRich 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
<us2rn0$2n6h3$4@dont-email.me>
copy midhttps://news.octade.net/USENET/article-flat.php?id=291&group=sci.crypt#291
copy link Newsgroups: sci.cryptOn 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.... ;^)
<us4tjt$opjk$3@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=298&group=sci.crypt#298
copy link Newsgroups: sci.cryptChris 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
<us5c2m$3b95j$2@dont-email.me>
copy midhttps://news.octade.net/USENET/article-flat.php?id=299&group=sci.crypt#299
copy link Newsgroups: sci.cryptStefan 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/
<87o7btk6xm.fsf@bsb.me.uk>
copy midhttps://news.octade.net/USENET/article-flat.php?id=301&group=sci.crypt#301
copy link Newsgroups: sci.cryptStefan 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.
<us6opu$r9as$1@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=302&group=sci.crypt#302
copy link Newsgroups: sci.cryptBen 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
<us6ov9$r9as$2@i2pn2.org>
copy midhttps://news.octade.net/USENET/article-flat.php?id=303&group=sci.crypt#303
copy link Newsgroups: sci.cryptRich 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
<utipmc$2i6qv$4@dont-email.me>
copy midhttps://news.octade.net/USENET/article-flat.php?id=316&group=sci.crypt#316
copy link Newsgroups: sci.cryptOn 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.
1 |