u/DistilledProblemsin r/C_Programming • Recommends
On “How to hash in c?”
Without external libraries, you need to implement it yourself. Also, as an exercise, storing it as an unencrypted hash is fine, but never use this as actual security.
This video is a good primer. However, you will need a slightly more sophisticated hash function since a password can contain both letters, numbers and special symbols.