doc: passwordHash does not contain a bcrypted password, but a salted sha512 sum

The documentation was written on 2011-08-03:
    31067f163f17: added a documentation for the database structure

The implementation using sha512 instead of bcrypt was committed two days later,
on 2011-08-10:
    ce1012438ef8: added setPublicStatus, getPublicStatus, setPassword and isPasswordProtected
This commit is contained in:
muxator 2018-11-05 22:45:00 +01:00
parent 74b2bd1a4f
commit 66d87babfa
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Contains all information about pads
* **head** - the number of the latest revision
* **chatHead** - the number of the latest chat entry
* **public** - flag that disables security for this pad
* **passwordHash** - string that contains a bcrypt hashed password for this pad
* **passwordHash** - string that contains a salted sha512 sum of this pad's password
### pad:$PADID:revs:$REVNUM
Saves a revision $REVNUM of pad $PADID