diceware VS Pgen

Compare diceware vs Pgen and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
diceware Pgen
1 13
225 144
- -
0.0 8.1
7 months ago 18 days ago
JavaScript Roff
MIT License ISC License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

diceware

Posts with mentions or reviews of diceware. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-20.

Pgen

Posts with mentions or reviews of Pgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.
  • Insult Passphrase Generator
    3 projects | news.ycombinator.com | 13 Mar 2024
  • LastPass: ‘Horse Gone Barn Bolted’ Is Strong Password
    1 project | news.ycombinator.com | 22 Sep 2023
    Correct Battery Horse Staple :)

    Speaking of which, if you want to generate long memorable passphrases, I have an open source cli tool I wrote for that, which I myself use.

    https://github.com/ctsrc/Pgen

    Give it a spin

  • pgen(1) – Passphrase Generator
    1 project | news.ycombinator.com | 8 Aug 2023
  • Milk Sad: Weak Entropy in libbitcoin (bc) seed generation
    8 projects | news.ycombinator.com | 8 Aug 2023
    This xkcd comic has been instrumental to me.

    I wrote a command-line utility a couple of years ago that I use myself regularly to generate secure and memorable passwords

    https://github.com/ctsrc/Pgen

    With this tool you can also see how many bits of entropy the passphrase generation settings you are using will result in.

    For example, generating a 5 word password using the long wordlist

        pgen -l -n 5
  • When was the last time you lost data?
    1 project | news.ycombinator.com | 19 Jun 2023
    Around 2011 I set up full disk encryption for the first time. The systems I did this on were some second hand computers that I had bought and installed FreeBSD on. The systems were very stable. Too stable! They were running for several weeks until one day when there was a power outage. I booted the machines and promptly realised that I was not entirely sure about what the convoluted password I had chosen for full disk encryption was exactly.

    I lost quite a bit of data that day.

    It taught me to stop with silly 5|_|1357:7|_|7:0|\|5 and to use long passphrases instead. This ensures high entropy without the possibility of forgetting symbols chosen, because there are no symbols to remember.

    It also taught me to frequently reboot my computers, so that I remember the passphrases to decrypt the disks.

    I have a tool that I wrote and which I actively use myself for generating passphrases, it’s called Pgen and it’s open source at https://github.com/ctsrc/Pgen

  • Names are not descriptions; descriptions are not names
    1 project | news.ycombinator.com | 26 May 2023
    Interesting points and I agree.

    Makes me wonder if I should’ve picked a different name for my passphrase generator. I named it “Pgen” and I use it several times per month.

    https://github.com/ctsrc/Pgen

    Perhaps “passblazer” or something would have been a better name :thinking:

    Unfortunately, it’s not really possible to rename it at this point :/

    Oh well, maybe some other time I can come up with a creative name for a project instead of an overly descriptive name :)

  • Ask HN: What's your greatest achievement on GitHub?
    1 project | news.ycombinator.com | 18 May 2023
    My greatest accomplishments on GitHub are my projects that I actively use myself, and which other people are using as well.

    https://github.com/ctsrc/Pgen

    Pgen is a passphrase generator that uses the EFF wordlists for random passphrases.

    A typical passphrase generated with Pgen looks like:

    oxford antelope veteran thorn dastardly gem tripod upfront avocado femur moisture sacrifice

    Pgen is written in Rust.

    Browse my GitHub profile to see some other projects as well, including my “repotools” project which is very basic but super useful and I invoke the repotools commands many times every day.

    I also have my zshrc on GitHub, the main selling-point of which is the way I have set up my PS1 prompt. It uses different emojis for different machines and adds some extra white space. The emojis are useful because for a long time I sometimes found it difficult to quickly identify which terminal is logged into which host when I have many terminals open some of which are connected to ssh. Having the host name in the print is nice and all but when you have a handful of terminals open or more it’s not very distinct. Coloured emojis take small space and make each host distinct. Vertical spacing between each command invocation makes it more comfortable to read scroll back and more quick to scan.

  • pgen(1) – Passphrase Generator, version 1.1.4 released
    1 project | /r/coolgithubprojects | 17 Feb 2023
    1 project | /r/linux | 17 Feb 2023
    2 projects | /r/freebsd | 17 Feb 2023

What are some alternatives?

When comparing diceware and Pgen you can also consider the following projects:

webpassgen - Simple web-based password generator

passphrase2pgp - Generate a PGP key from a passphrase

CyberChef - The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

Hemmelig.app - Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.

psh-gui - GUI for `psh` password manager

string-is - An open-source, privacy-friendly online string toolkit for developers.

cargo-raze - Generate Bazel BUILD from Cargo dependencies!

diceware - Generate secure passwords you can actually remember!

libbitcoin-explorer - Bitcoin Command Line Tool

pmanager - Store and retrieve your passwords from a secure offline database. Check if your passwords has leaked previously to prevent targeted password reuse attacks.