Use pandect for calculating hash