home
/
zktecojo
/
public_html
/
vendor
/
phpseclib
/
phpseclib
/
tests
/
Unit
/
Crypt
/
Hash
➕ New
📤 Upload
✎ Editing:
SHA256_96Test.php
← Back
<?php /** * @author Andreas Fischer <bantu@phpbb.com> * @copyright MMXIV Andreas Fischer * @license http://www.opensource.org/licenses/mit-license.html MIT License */ class Unit_Crypt_Hash_SHA256_96Test extends Unit_Crypt_Hash_SHA256Test { public function getInstance() { return new Crypt_Hash('sha256-96'); } /** * @dataProvider hashData() */ public function testHash($message, $longResult) { parent::testHash($message, substr($longResult, 0, 24)); } /** * @dataProvider hmacData() */ public function testHMAC($key, $message, $longResult) { parent::testHMAC($key, $message, substr($longResult, 0, 24)); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel