6 years ago (2014-12-11)  Algorithm language |   First to comment  48 
post score 0 times, average 0.0

The commonly used string Hash functions as well as ELFHash, APHash and so on, are very simple and effective methods.These functions use bit operations so that each character has an effect on the final function value.There are also hash functions represented by MD5 and SHA1. These functions are almost impossible to find.

The commonly used string hash functions are BKDRHash, APHash, DJBHash, JSHash, RSHash, SDBMHash, PJWHash, ELFHash, and so on.

 Specific code sharing



This article has been printed on copyright and is protected by copyright law. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click on the "sponsored author" below to reward the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/reprint-string-hash-function-2.html

Post comment


No Comment


Forget password?