Skip to content

zheeeng/fp455

Repository files navigation

fp455

Flower Password based on ReasonML

Known Vulnerabilities language license Build Status npm version npm bundle size (minified + gzip)

More about this tool on official website


The Command Line

fp455-cli is a command line for generate flower password. fp455 means flower pa(4)s(5)s(5)word.

Installation

yarn global add fp455
npm install -g fp455

suggestion: alias fp455 for not saving encrypt commands

# preserve the leading space
alias fp=' fp455'

Usage

fp455 password key [length] -- generate the password
fp455 -h, fp455 --help  -- get the help infomation

note: length is in range [1, 32]

Example

$ fp455 abc123456 fp455
> e2fbb727dA3638b6

$ fp455 abc123456 fp455 32
> e2fbb727dA3638b638C4b9f9Bee181ad

$ fp no-history-pass fp455
> Kc8E6a281F02Cd28

As Dependency

Installation

yarn add fp455
npm install -s fp455

Usage

In Module system:

import fp455 from 'fp455'

// (string, string, int) -> string
fp455.calculate('abc123456 ', 'fp455', 16)

In browser:

<script src="path/to/yourCopyOf/fp455.min.js"></script>
<script>
    const pass = fp455.calculate('abc123456 ', 'fp455', 16)
</script>

CDN: https://unpkg.com/fp455/dist/fp455.min.js

License

MIT

Releases

No releases published

Packages

No packages published