Franc
Franc

Reputation: 450

Is there a standard library function to get hash value of a string in C?

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

Answers (1)

KamilCuk
KamilCuk

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

Related Questions