Overview

Namespaces

  • PHP
  • PHPassLib
    • Application
    • Exception
    • Hash
    • Test
      • Application
      • Hash

Classes

  • BCryptTest
  • BSDiCryptTest
  • DESCryptTest
  • MD5CryptTest
  • PBKDF2Test
  • PortableTest
  • SHA1CryptTest
  • SHA256CryptTest
  • SHA512CryptTest
  • Overview
  • Namespace
  • Class
  • Tree

Class DESCryptTest

DES Crypt Module Tests

PHPUnit_Framework_TestCase
Extended by PHPassLib\Test\Hash\DESCryptTest
Namespace: PHPassLib\Test\Hash
Package: PHPassLib\Tests
Copyright: Copyright (c) 2012, Ryan Chouinard
License: License - http://www.opensource.org/licenses/mit-license.php
Author: Ryan Chouinard <rchouinard@gmail.com>
Located at tests/PHPassLib/Test/Hash/DESCryptTest.php
Methods summary
public array
# validTestVectorProvider( )

Provide valid test vectors.

Provide valid test vectors.

Returns

array
public array
# invalidTestVectorProvider( )

Provide invalid test vectors.

Provide invalid test vectors.

Returns

array
public
# validTestVectorsProduceExpectedResults( string $password, string $hash )

Verify that the class produces correct results with valid test vectors.

Verify that the class produces correct results with valid test vectors.

Parameters

$password
string
$password
$hash
string
$hash

DataProvider

validTestVectorProvider

Test

public
# invalidTestVectorsProduceExpectedResults( string $password, string $hash, mixed $errorString )

Verify that the class produces correct results with invalid test vectors.

Verify that the class produces correct results with invalid test vectors.

Parameters

$password
string
$password
$hash
string
$hash
$errorString

DataProvider

invalidTestVectorProvider

Test

public
# genconfigAndParseconfigProduceMatchingResults( )

Test

PHP Password Library API documentation generated by ApiGen 2.8.0