relax cryptohash constraint (finally tested)