mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02:00
2021-04-27 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'RDAIRPLAY_EXIT_PASSWORD' field from 'varchar(41)' to 'varchar(48)'. * Incremented the database version to 349. * Renamed the 'RDSha1Hash()' function to 'RDSha1HashFile()'. * Added 'RDSha1HashPassword()' function in 'lib/rdhash.[cpp|h]'. * Added 'RDSha1HashCheckPassword()' function in 'lib/rdhash.[cpp|h]'. * Changed the hashing algorithm used for the Exit Password for rdairplay(1) to salted SHA1. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
QString RDSha1Hash(const QString &filename,bool throttle=false);
|
||||
QString RDSha1HashFile(const QString &filename,bool throttle=false);
|
||||
QString RDSha1HashPassword(const QString &secret);
|
||||
bool RDSha1HashCheckPassword(const QString &secret,const QString &hash);
|
||||
|
||||
|
||||
#endif // RD_H
|
||||
#endif // RDHASH_H
|
||||
|
Reference in New Issue
Block a user