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

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW