Skip to content

Store and check passwords as of current standards told you to

License

Notifications You must be signed in to change notification settings

node-common/safe-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safe password

Store and check passwords as of current standards told you to

HOW TO

Zero setup

import {SafePasswordHelper} from "safe-password";

// Create result as a ready-made encrypted password
const result = await SafePasswordHelper
                     .get()
                     .standard()
                     .encodeAuto("password");

// Check some password on validity against result
const valid = await SafePasswordHelper
                       .get()
                       .standard()
                       .checkAuto("password", result);
                                    
if(valid) {
    
    // .... Do something
    
}

About

Store and check passwords as of current standards told you to

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published