Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DJB2a non-cryptographic hash function

License

NotificationsYou must be signed in to change notification settings

SuperGall/djb2a

 
 

Repository files navigation

DJB2a non-cryptographic hash function

DJB2a has good distribution and collisions are rare.

Install

$ npm install djb2a

Usage

constdjb2a=require('djb2a');djb2a('🦄🌈');//=> 1484783307

It returns the hash as a positive integer.

Related

  • fnv1a - FNV-1a non-cryptographic hash function
  • sdbm - SDBM non-cryptographic hash function

License

MIT ©Sindre Sorhus

About

DJB2a non-cryptographic hash function

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript96.0%
  • TypeScript4.0%

[8]ページ先頭

©2009-2025 Movatter.jp