mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
First version of IdentityBox with encrypted data.
This commit is contained in:
@@ -494,6 +494,10 @@ int32 *hashSha256(const void *data, uint32 len, void *dest) {
|
||||
return (int32*)SHA256((const uchar*)data, (size_t)len, (uchar*)dest);
|
||||
}
|
||||
|
||||
int32 *hashSha512(const void *data, uint32 len, void *dest) {
|
||||
return (int32*)SHA512((const uchar*)data, (size_t)len, (uchar*)dest);
|
||||
}
|
||||
|
||||
// md5 hash, taken somewhere from the internet
|
||||
|
||||
namespace {
|
||||
|
Reference in New Issue
Block a user