2025-04-26 Fred Gleason <fredg@paravelsystems.com>

* Restored SHA1 hash code in 'lib/rdhash.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-26 19:30:27 -04:00
parent 7c4d09deb2
commit 5950a9f7ab
2 changed files with 2 additions and 18 deletions

View File

@@ -33,10 +33,6 @@
QString __RDSha1Hash_MakePasswordHash(const QString &secret,const QString &salt)
{
//
// FIXME: Reimplement this using modern methods!
//
/*
SHA_CTX ctx;
unsigned char md[SHA_DIGEST_LENGTH];
@@ -50,17 +46,11 @@ QString __RDSha1Hash_MakePasswordHash(const QString &secret,const QString &salt)
}
return ret;
*/
return QString();
}
QString RDSha1HashData(const QByteArray &data)
{
//
// FIXME: Reimplement this using modern methods!
//
/*
SHA_CTX ctx;
unsigned char md[SHA_DIGEST_LENGTH];
QString ret;
@@ -73,17 +63,11 @@ QString RDSha1HashData(const QByteArray &data)
}
return ret;
*/
return QString();
}
QString RDSha1HashFile(const QString &filename,bool throttle)
{
//
// FIXME: Reimplement this using modern methods!
//
/*
QString ret;
SHA_CTX ctx;
int fd=-1;
@@ -109,8 +93,6 @@ QString RDSha1HashFile(const QString &filename,bool throttle)
}
return ret;
*/
return QString();
}