Binding for pHash library