Hash test with primenumbers