Implemented ExecHash function