Page MenuHomestyx hydra

PhabricatorIteratedMD5PasswordHasherTestCase.php
No OneTemporary

PhabricatorIteratedMD5PasswordHasherTestCase.php

<?php
final class PhabricatorIteratedMD5PasswordHasherTestCase
extends PhabricatorTestCase {
public function testHasher() {
$hasher = new PhabricatorIteratedMD5PasswordHasher();
$this->assertEqual(
'md5:4824a35493d8b5dceab36f017d68425f',
$hasher->getPasswordHashForStorage(
new PhutilOpaqueEnvelope('quack'))->openEnvelope());
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Feb 24, 9:52 PM (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
845094
Default Alt Text
PhabricatorIteratedMD5PasswordHasherTestCase.php (369 B)

Event Timeline