Code Monkey home page Code Monkey logo

niceware-cli's Introduction

niceware

A command line tool for generating secure and memorable passwords.

This is a Zig port of niceware with a CLI interface.

See original project README for more information.

Requirements

  • Zig 0.12.0

Building

zig build -Doptimize=ReleaseSafe

Running the tests

zig build test

How to use

To get an overview of all commands you can run niceware --help.

from-bytes

Converts from bytes (a hex string) into a passphrase.

niceware from-bytes e4c320324baf3a03 results in torpedoed chef fain disabling

generate

Generates a random passphrase. You may specify an optional size when calling this command.

to-bytes

Converts the passphrase into its bytes representation.

niceware to-bytes stroganoff inharmonic allergic tangy results in d7976e08033bde4a

Credits

This wouldn't be possible without the original.

Huge shoutout to healeycodes for the Rust port. The core library used here is a direct port of it.

niceware-cli's People

Contributors

svercl avatar

Stargazers

 avatar  avatar

Watchers

 avatar

niceware-cli's Issues

Write more tests

Currently, there is only one test. It would be beneficial to test all the functions that are available.

Accept non-critical characters as input

When converting from bytes, it can be beneficial to support characters found in UUIDs like - or others.

In other words, I want 1264c4c3-722f-4a06-a4da-785c539bff1a to be accepted internally as 1264c4c3722f4a06a4da785c539bff1a, and so on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.