2017 © Pedro Peláez
 

library niceware

Niceware library for PHP

image

narf/niceware

Niceware library for PHP

  • Friday, November 25, 2016
  • by Narf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Niceware for PHP

Build Status, (*1)

PHP port of npm: niceware (GitHub: diracdeltas/niceware), (*2)

Why?

I wanted to write something for fun. Until I put a more reasonable explanation here - assume EXPERIMENTAL status and use at your own risk!, (*3)

Public API Reference

namespace Narf\Niceware;

class Narf\Niceware\Niceware {

    public static function generatePassphrase(int $size): string;
    public static function bytesToPassphrase(string $bytes): string;
    public static function passphraseToBytes(string $passphrase): string;

}

Note: The parameters types are not actually in the method signatures, but validated via is_string(), is_int() calls. This is because PHP's ugly strict_types declaration is non-enforceable., (*4)

The Versions

25/11 2016

dev-master

9999999-dev

Niceware library for PHP

  Sources   Download

MIT

The Requires

  • php ^7

 

The Development Requires

by Andrey Andreev

generator password encryption cryptography crypto random dictionary entropy password generator passphrase diceware niceware

25/11 2016

dev-travis

dev-travis

Niceware library for PHP

  Sources   Download

MIT

The Requires

  • php ^7

 

The Development Requires

by Andrey Andreev

generator password encryption cryptography crypto random dictionary entropy password generator passphrase diceware niceware