hash legal