New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

pass-scene

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pass-scene

Memorable passphrase generator

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Pass-scene

Generating memorable passwords is a hard problem. Perhaps the best available current option is diceware, which generates fairly short, fairly memorable passphrases. But, if you don't care about length, could you generate more memorable phrases for use by everyday people?

Pass-scenes are an attempt to create a more meaningful passphrase generator by using templates for different parts of speech and kinds of words, derived from Princeton's WordNet database. You can view a demo here, or install it as an npm module and try it out for yourself.

There's some significant future work to do here, mainly:

  • Allow tuning the rarity/entropy of each word
  • Use a better source of word types (Wikipedia categories or DBpedia, maybe)
  • Allow inflecting the words ({nouns}, {nouning}) so that the phrase generation is more natural

Installation

To use as a module: npm install pass-scene

Then:

> var scene = require('pass-scene')
> scene('{noun.time} is the time for all {adj.pert} {noun}s to come to the {noun.act} of their {noun.location}')
'twentieth century is the time for all testaceous drumbeats to come to the cremation of their epicentre'
> scene('{verb}ing {verb}s {noun}s')
'dogfighting unscrews casebooks'
> scene.entropy('{verb}ing {verb}s {noun}s')
43.040113798456446

Keywords

Passphrase

FAQs

Package last updated on 04 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts