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