mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-24 11:05:30 +00:00
Tests/RC2: use data provider
This commit is contained in:
parent
8b8d9ac423
commit
a467c9e0bd
@ -101,6 +101,9 @@ class Unit_Crypt_RC2Test extends PhpseclibTestCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dataProvider engineVectors
|
||||||
|
*/
|
||||||
public function testVectors($engine, $engineName, $key, $keyLen, $plaintext, $ciphertext)
|
public function testVectors($engine, $engineName, $key, $keyLen, $plaintext, $ciphertext)
|
||||||
{
|
{
|
||||||
$rc2 = new Crypt_RC2();
|
$rc2 = new Crypt_RC2();
|
||||||
|
Loading…
Reference in New Issue
Block a user