Skip to content

Instantly share code, notes, and snippets.

@atoponce
Last active November 7, 2022 21:59
Show Gist options
  • Save atoponce/f463fa33a7ddec34cc462ad207e138e7 to your computer and use it in GitHub Desktop.
Save atoponce/f463fa33a7ddec34cc462ad207e138e7 to your computer and use it in GitHub Desktop.
Dice-based password generator tables for 4-sided, 6-sided, 8-sided, and 10-sided dice

Security

Each table provides at least 6 bits of security per character. As such, a 12-character password provides at least 72 bits security.

Examples

Print the tables below, place them in your password notebook, and use either 4-sided, 6-sided, 8-sided, or 10-sided dice to generate your password.

4-sided dice

Either roll a 4-sided die thrice, or three 4-sided dice once. Each character provides exactly 6 bits security.

Example generating a 12-character password:

1,1,2: %   4,3,1: s   4,2,1: r   1,2,2: &   3,3,1: C   4,1,3: y
1,3,1: #   4,3,2: w   3,4,2: H   2,3,4: ?   1,3,2: '   1,2,4: .

The password is: %sr&Cy#wH?'.

6-sided dice

Either roll a 6-sided die thrice, or three 6-sided dice once. Each character provides approximately 6.17 bits security.

Example generating a 12-character password:

5,3,2: Z   6,6,6: ~   5,1,1: P   6,1,2: W   6,3,1: R   4,1,4: g
1,2,3: 3   2,6,6: N   6,5,2: \   3,5,6: M   3,5,4: D   2,2,3: 3

The password is: Z!PWRg3N\MD3

8-sided dice

Either roll an 8-sided die twice, or two 8-sided dice once. Each character provides exactly 6 bits security.

Example generating a 12-character password:

8,4: @   4,5: D   8,5: H   8,5: H   7,3: 7   3,4: ;
4,6: L   5,4: =   3,8: [   3,3: 3   5,4: =   3,2: +

The password is: @DHH7;L=[3=+

10-sided dice

Either roll a 10-sided die twice, or two 10-sided dice once. Each character provides approximately 6.55 bits security.

Note: The last 6 characters at the bottom of the table are blank. Reroll if you get these locations.

Example generating a 12-character password:

1,6: S   7,2: 1   7,10: reroll   7,2: 1   1,10: {   4,6: V   2,3: 6
5,2: /   6,6: X    8,6: Z        5,2: /    5,6: W   9,6: [

The password is: S11{V6/XZ/W[

1st roll:     1 2 3 4 5 6 7 8 9 10
----------------------------------
2nd roll: 1:  ! " # $ % & ' ( ) *
          2:  + , - . / 0 1 2 3 4
          3:  5 6 7 8 9 : ; < = >
          4:  ? @ A B C D E F G H
          5:  I J K L M N O P Q R
          6:  S T U V W X Y Z [ \
          7:  ] ^ _ ` a b c d e f
          8:  g h i j k l m n o p
          9:  q r s t u v w x y z
         10:  { | } ~ 
1st roll:        1        2        3        4
2nd roll:     1 2 3 4  1 2 3 4  1 2 3 4  1 2 3 4
------------------------------------------------
3rd roll: 1:  ! " # $  1 2 3 4  A B C D  q r s t
          2:  % & ' (  5 6 7 8  E F G H  u v w x
          3:  ) * + ,  9 : ; <  I J K L  y z [ \
          4:  - . / 0  = > ? @  M n o p  ] ^ _ `
1st roll:        1,2,3        4,5,6
2nd roll:     1 2 3 4 5 6  1 2 3 4 5 6
--------------------------------------
3rd roll: 1:  ! " # $ % &  P Q R S T V
          2:  ( ) * + - /  W X Z [ \ ]
          3:  2 3 4 5 6 7  ^ _ b c d f
          4:  8 9 : < = >  g h j k m n
          5:  ? @ B C D F  p q r s t v
          6:  G H J K M N  w x z { } ~
1st roll:     1 2 3 4 5 6 7 8
-----------------------------
2nd roll: 1:  ! " # $ % & ' (
          2:  ) * + , - . / 0
          3:  1 2 3 4 5 6 7 8
          4:  9 : ; < = > ? @
          5:  A B C D E F G H
          6:  I J K L M n o p
          7:  q r s t u v w x
          8:  y z [ \ ] ^ _ `
@kateflynn08
Copy link

I love this! Started following you on Mastodon. New to the social network platform. I'm a Ph.D. student at the U and doing some of my work in informatics.

@atoponce
Copy link
Author

atoponce commented Nov 7, 2022

@kateflynn08 Which university? What are you studying?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment