Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

47 lines (24 loc) · 1.12 KB

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.