Using Diceware, BIP39 and leetspeak for Argon2id keys

Liste des GroupesRevenir à s crypt 
Sujet : Using Diceware, BIP39 and leetspeak for Argon2id keys
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.crypt
Date : 18. Aug 2024, 10:39:06
Autres entêtes
Organisation : Ch1ffr3punk5
Message-ID : <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org>
User-Agent : flnews/1.3.0pre9 (for GNU/Linux)
Hi all,

regarding my previous thread about memorizing a 128/256 bit key,
I came up with the following idea to create Argon2id keys.

Now we only need to memorize our Diceware passphrase.

This task shoulb be carried out on an offline Computer.

I am using four Golang programs, called dwp (diceware passphrase),
dice2bip, leetspeak and argon2id, which you can find on my GitHub
page at:

https://github.com/stefanclaas/

Usage of leetspeak is optional.

First we start with dwp:

$ dwp -r 6 -d eff_large_wordlist.txt -p
Diceware number 1: 51534 - reselect
Diceware number 2: 25455 - envelope
Diceware number 3: 42252 - nuptials
Diceware number 4: 35561 - lapping
Diceware number 5: 26225 - expand
Diceware number 6: 24453 - earpiece

Complete passphrase: reselect envelope nuptials lapping expand earpiece

Now we use the Diceware passphrase for dice2bip:

$ dice2bip -passphrase "reselect envelope nuptials lapping expand earpiece"
24-word mnemonic:
project clock spirit taste shoulder trumpet what system
radio boat local sock pond gauge cancel hundred
annual ugly fuel void execute sausage angle knee

Optionally we can use leetspeak for eight words:

$ echo "annual ugly fuel void execute sausage angle knee" | leetspeak
4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33

Lastly we create our Argon2id key, used as an 256 bit encryption key,
or as final passphrase for a password mananger etc. The -p parameter
uses the first sixteen words from the dice2bip output and the -s parameter
uses the last eight words, wich we had run through leetspeak.

$ argon2id -p "project clock spirit taste shoulder trumpet what system radio boat local sock pond gauge cancel hundred" -s "4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33"

Our final result: b3ff9d34181c4771dd9ec993c78b2d5b2cc809024c9447f97468893f0d70e611

So, all in all, we only have to remember the Diceware passphrase to reconstruct
our encryption  key.

Hope you like the idea!

--
Regards
Stefan

Date Sujet#  Auteur
18 Aug 24 * Using Diceware, BIP39 and leetspeak for Argon2id keys18Stefan Claas
18 Aug 24 +* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys2Stefan Claas
18 Aug 24 i`- Re: Using Diceware, BIP39 and leetspeak for Argon2id keys1Stefan Claas
18 Aug 24 +* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys4Marcel Logen
18 Aug 24 i`* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys3Stefan Claas
18 Aug 24 i +- Re: Using Diceware, BIP39 and leetspeak for Argon2id keys1Stefan Claas
20 Aug 24 i `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keys1Marcel Logen
18 Aug 24 `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys11Rich
18 Aug 24  `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys10Stefan Claas
18 Aug 24   `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys9Rich
18 Aug 24    `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys8Stefan Claas
18 Aug 24     +* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys3Rich
20 Aug 24     i`* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys2Stefan Claas
21 Aug 24     i `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keys1Doc O'Leary ,
19 Aug 24     `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys4Doc O'Leary ,
19 Aug 24      `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys3Stefan Claas
19 Aug 24       `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keys2Stefan Claas
19 Aug 24        `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keys1Stefan Claas

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal