code: def verify(password_hash, password):
      
  
      ensure(len(password_hash) == PWHASH_SIZE,
             "The password hash must be exactly %s bytes long" %
             nacl.bindings.crypto_pwhash_scryptsalsa208sha256_STRBYTES,
             raising=exc.ValueError)
  
      return nacl.bindings.crypto_pwhash_scryptsalsa208sha256_str_verify(
          password_hash, password
      )
docs: Takes the output of scryptsalsa208sha256 and compares it against
      a user provided password to see if they are the same
  
      :param password_hash: bytes
      :param password: bytes
      :rtype: boolean
  
      .. versionadded:: 1.2