enhanced hash and crypto interfaces