command
Version:
v0.0.0-...-f68f4d8
Opens a new window with list of versions in this module.
Published: Apr 5, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Storing Passwords
- never store passwords
- store one-way encryption "hash" MD5 (weak), SHA1 (weak), SHA2 (good), Bcrypt(good), scrypt(good)
- hash on the client and hash again on the server
- you should salt the password. It means to add a random string when hashing the password
Considerations:
-
sha
- always returns the same hash for the same input.
- similar input produces a completly diferent hash. So someone cannot associate
- It has fixed hash size.
- Different inputs could generate the same hash.
-
bcrypt
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.