Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.crypt > #257346

Re: Manually generating a key with dice

From Chax Plore <ftilojim@tznvy.pbz>
Newsgroups sci.crypt
Subject Re: Manually generating a key with dice
Date 2024-03-03 19:55 +0100
Organization i2pn2 (i2pn.org)
Message-ID <us2h2k$lont$1@i2pn2.org> (permalink)
References <us2g2i$lhs0$1@i2pn2.org>

Show all headers | View raw


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------

Back to sci.crypt | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-03 19:38 +0100
  Re: Manually generating a key with dice Chax Plore <ftilojim@tznvy.pbz> - 2024-03-03 19:55 +0100
    Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-03 20:42 +0100
      Re: Manually generating a key with dice Rich <rich@example.invalid> - 2024-03-03 19:54 +0000
        Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-03 21:40 +0100
          Re: Manually generating a key with dice Ben Bacarisse <ben.usenet@bsb.me.uk> - 2024-03-04 21:45 +0000
            Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-05 10:31 +0100
  Re: Manually generating a key with dice Rich <rich@example.invalid> - 2024-03-03 19:57 +0000
    Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-03 21:47 +0100
  Re: Manually generating a key with dice "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2024-03-03 13:56 -0800
    Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-04 17:41 +0100
      Re: Manually generating a key with dice Rich <rich@example.invalid> - 2024-03-04 20:48 +0000
        Re: Manually generating a key with dice Stefan Claas <pollux@tilde.club> - 2024-03-05 10:34 +0100
        Re: Manually generating a key with dice "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2024-03-21 19:16 -0700

csiph-web