Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php interface PhabricatorAuthPasswordHashInterface { public function newPasswordDige..

Decoded Output download

<?php

interface PhabricatorAuthPasswordHashInterface {

  public function newPasswordDigest(
    PhutilOpaqueEnvelope $envelope,
    PhabricatorAuthPassword $password);

  /**
   * Return a list of strings which passwords associated with this object may
   * not be similar to.
   *
   * This method allows you to prevent users from selecting their username
   * as their password or picking other passwords which are trivially similar
   * to an account or object identifier.
   *
   * @param PhabricatorUser The user selecting the password.
   * @param PhabricatorAuthPasswordEngine The password engine updating a
   *  password.
   * @return list<string> Blocklist of nonsecret identifiers which the password
   *  should not be similar to.
   */
  public function newPasswordBlocklist(
    PhabricatorUser $viewer,
    PhabricatorAuthPasswordEngine $engine);

}
 ?>

Did this file decode correctly?

Original Code

<?php

interface PhabricatorAuthPasswordHashInterface {

  public function newPasswordDigest(
    PhutilOpaqueEnvelope $envelope,
    PhabricatorAuthPassword $password);

  /**
   * Return a list of strings which passwords associated with this object may
   * not be similar to.
   *
   * This method allows you to prevent users from selecting their username
   * as their password or picking other passwords which are trivially similar
   * to an account or object identifier.
   *
   * @param PhabricatorUser The user selecting the password.
   * @param PhabricatorAuthPasswordEngine The password engine updating a
   *  password.
   * @return list<string> Blocklist of nonsecret identifiers which the password
   *  should not be similar to.
   */
  public function newPasswordBlocklist(
    PhabricatorUser $viewer,
    PhabricatorAuthPasswordEngine $engine);

}

Function Calls

None

Variables

None

Stats

MD5 762f0e97c8f9a2c0a763b5e9fce59b07
Eval Count 0
Decode Time 112 ms