npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

amaranth

v1.1.0

Published

A password management solution without storing them

Downloads

6

Readme

Amaranth

npm CircleCI codecov

A password management tool without storing them. It is Safe and Rememberable.

Introduction

We all know that using same password everywhere is extremly unsafe because websites cannot be trusted to protect them from hackers. So once one of your passwords is leaked, the other accounts are still safe.

However, it is impossible to remember all passwords for different websites. So there are several solutions for password management, like LastPass, 1Password or KeePass.

But are they really safe? LastPass had been hacked. Keep them local? You must synchronize manually. How can we balance the safety and convenience?

Amaranth provides a simple password management solution. You just need to remember only one password (we call it main password), and set different site id for accounts on different sites (you can directly use the brand name like google or apple). Amaranth will calculate the password for you.

Only you have main password, and site id, Amaranth can calculate correct password for you. If any of this 2 is wrong, Amaranth will provide different password. The benefits of this are that you only need to remember this specific main password IN YOUR BRAIN, and Amaranth can give you any password you need at any devices without synchronization and storage.

Algorithm

So Amaranth is unhackable because it dose not store any of your password. It only provides an algorithm to generate them.

It also comes with different type of password in case there is requirement in websites or services. For example, some website require longer password length (more than 10) but some service (like bank) require PIN as password. Amaranth provides 4 kinds of passwords which is PIN, Short, Classic and Long.

Long Password

According to HOW SECURE IS MY PASSWORD?, the Long type password needs 3 TRILLION YEARS to crack (2016).

PIN Password

The benifits of using Amaranth:

  • Safe, unhackable. Even your computer is stolen, the passwords will never leak.
  • Easy to remember. User just need to remember a main password and a rule of site id.
  • Main password is only used to generate password, never used in actual websites.
  • No need to think a new password for new account.

There is also a shortcoming, if you choose this solution, you need to change your current passwords.

Usage

There will be a Chrome extension for this.

This repository is for algorithm. To check it, just

npm install amaranth

and in your nodejs file:

const amaranth = require('amaranth');
const password = amaranth('main password', 'site id', 'Long');
// amaranth(mainPassword, siteId, passwordType);

Currently Amaranth support 4 types of password:

  • PIN: 4 digit
  • Short: 1 uppercase characters, 2 lowercase characters, 1 digit
  • Classic: 2 uppercase characters, 3 lowercase characters, 2 digit, 1 punctuation
  • Long: 4 uppercase characters, 6 lowercase characters, 4 digit, 2 punctuation

Author

Daniel Li

License

See LICENSE file.