Skip to content

Niceware for .NET - Generate or convert random bytes into passphrases and back again

Notifications You must be signed in to change notification settings

trpalmer/dotnet-niceware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Niceware for .NET

A .NET port of Niceware for generating random-yet-memorable passwords. Each word provides 16 bits of entropy, so a useful password requires at least 3 words.

Because the wordlist is of exactly size 2^16, Niceware is also useful for converting cryptographic keys and other sequences of random bytes into human-readable phrases. With Niceware, a 128-bit key is equivalent to an 8-word phrase.

  • Free software: MIT license
  • Supports .NET Standard (core), .NET 4.6

Usage

To Install:

Install via Nuget package manager:

PM> Install-Package niceware

To generate an 8-byte passphrase:

using niceware;

var passphrase = Niceware.GeneratePassphrase(8);

// result: ["unpeopling", "whipsawing", "sought", "rune"]

Credits

Niceware for .NET is a port of Niceware by yan

About

Niceware for .NET - Generate or convert random bytes into passphrases and back again

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages