'Parameters
hash_name: string
The hash algorithm to be used
coerce_mmap: boolean
Make no difference between np.memmap and np.ndarray
objects.'

def __init__(self, hash_name='md5', coerce_mmap=False):

    self.coerce_mmap = coerce_mmap
    Hasher.__init__(self, hash_name=hash_name)
    import numpy as np
    self.np = np
    if hasattr(np, 'getbuffer'):
        self._getbuffer = np.getbuffer
    else:
        self._getbuffer = memoryview
