DMPACK
0.9.6
Modules
Procedures
Abstract Interfaces
Derived Types
Namelists
dm_hash_djb2
Function
ISC (Internet Systems Consortium) License
8 statements
dm_hash
dm_hash_djb2
Contents
public pure elemental function dm_hash_djb2(str) result(hash)
Dan Bernstein’s DJB2 non-cryptographic hash algorithm.
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
str
Input string.
Return Value
integer(kind=i8)