Skip to content

knivre/apr1.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

apr1.js

A JavaScript implementation of the APR1 hash.

Requires md5.js from Paul Johnston's jshash

Basic usage:

var password = 'qLs9nAXjyHQRbfDKsNfnhqJJQ2hVmv';
var hash = apr1_hash(password); // e.g. $apr1$ZNMOSPte$M5c02r7G1ZvLi/47fuRLa1

apr1_is_hash(password); // false
apr1_is_hash(apr1_hash); // true

About

A JavaScript implementation of the APR1 hash.

Resources

License

Stars

Watchers

Forks

Packages

No packages published