Reputation: 450
I am trying to figure out if I can get the hash value of a string using the standard library hash function in C. I am using gcc
compiler on Ubuntu
.
Upvotes: 1
Views: 1068
Reputation: 142005
Is there a standard library function to get hash value of a string in C?
No.
gcc compiler on Ubuntu.
I think worth mentioning, there is a super old function crypt
used by the Linux system password database (see man 5 shadow
) https://www.gnu.org/software/libc/manual/html_node/Passphrase-Storage.html .
Upvotes: 0