Skip to content

A command line tool for generating secure and memorable passwords.

License

Notifications You must be signed in to change notification settings

svercl/niceware-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A command line tool for generating secure and memorable passwords.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages