oxiDice

Crates.iooxiDice
lib.rsoxiDice
version1.0.2
sourcesrc
created_at2023-11-04 21:57:05.721239
updated_at2023-11-06 21:19:48.39342
descriptionSimple CLI to generate customizable passwords as either alphanumeric codes or diceware-based phrases.
homepage
repository
max_upload_size
id1025562
size750,897
Pratham Patel (patelpratham11)

documentation

README

oxiDice Logo

oxiDice

A simple CLI to generate passwords as either codes or phrases with customizable features to pick a password suited to your need.

Features

  • Pass Code
    • Alphanumeric passcodes
    • Can add/remove numbers and/or special characters
  • Pass Phrase
    • Based on the concept of diceware
    • Select words from 5 dice
  • Entropy
    • Calculates the associated entropy of the password generated
    • $E = log_{2}(R^L)$
      • E $\to$ Entropy of password
      • R $\to$ Number of unique characters
      • L $\to$ Length of the password generated

Installation

  1. Setup Rust
  2. Navigate to whatever directory
  3. Install via Cargo
    cargo install oxiDice
    
  4. See usage below!

Usage

Usage: oxiDice [OPTIONS]

Options:
  -t, --type <type>            What would you like to generate [default: phrase] [possible values: code, phrase]
  -l, --length <length>        Specify the length of the passcode. [default: 10]
  -n, --numbers                Specify whether to use numbers [0-9] or not. [default: true]
  -s, --special                Specify whether to use special characters or not. [default: true]
  -w, --words <words>          Number of words to generate for diceware [default: 5]
  -d, --delimiter <delimiter>  Delimiter to use between words. [default: -]
  -#, --count <count>          Number of passes to generate. [default: 10]
  -h, --help                   Print help (see more with '--help')

Commit count: 0

cargo fmt