djb2 Function

public function djb2(list) result(r)

DJB2 hash function Inspired by: - http://www.cse.yorku.ca/~oz/hash.html - https://github.com/pdebuyl/fortran_hash_table/blob/master/src/dictionary_m.f90

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: list(:)

List of integers to hash

Return Value integer(kind=i8)

Computed hash value