test usage crypto.hash