webcache/webcache.py
def fnv1a_32(string: str, seed=0):
    """
    Returns: The FNV-1a (alternate) hash of a given string
    """
    #Constants
    FNV_prime = 16777619
    offset_basis = 2166136261

    #FNV-1a Hash Function
    hash = offset_basis + seed
    for char in string:
        hash = hash ^ ord(char)
        hash = hash * FNV_prime
    return hash

    Returns: The FNV-1a (alternate) hash of a given string
    
The FNV-1a (alternate) hash of a given string
The FNV - 1a ( alternate ) hash of a given string
def fnv1a_32(string: str, seed=0):
    FNV_prime = 16777619
    offset_basis = 2166136261
    hash = offset_basis + seed
    for char in string:
        hash = hash ^ ord(char)
        hash = hash * FNV_prime
    return hash
def fnv1a_32 ( string : str , seed = 0 ) : FNV_prime = 16777619 offset_basis = 2166136261 hash = offset_basis + seed for char in string : hash = hash ^ ord ( char ) hash = hash * FNV_prime return hash
Returns: The FNV-1a (alternate) hash of a given string
Returns : The FNV - 1a ( alternate ) hash of a given string
"""
    Returns: The FNV-1a (alternate) hash of a given string
    """ #Constants #FNV-1a Hash Function
string
str
seed