Dotclear 2.25
Loading...
Searching...
No Matches
crypt Class Reference
Inheritance diagram for crypt:

Public Member Functions

 __construct ()
 
 testHMacBigKeyMD5 ()
 
 testHMacSHA1Implicit ()
 
 testHMacSHA1Explicit ()
 
 testHMacMD5 ()
 
 testHMacFallback ()
 
 testHMacLegacy ()
 
 testHMacLegacyMD5 ()
 
 testHMacLegacySha1 ()
 
 testHMacLegacyFallback ()
 
 testCreatePassword ()
 

Data Fields

const BIG_KEY_SIZE = 200
 
const DATA_SIZE = 50
 

Detailed Description

Crypt test.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ testHMacBigKeyMD5()

testHMacBigKeyMD5 ( )

Test big key. crypt don't allow key > than 64 cars

References crypt\hmac().

◆ testHMacSHA1Implicit()

testHMacSHA1Implicit ( )

hmac implicit SHA1 encryption (default argument)

References crypt\hmac().

◆ testHMacSHA1Explicit()

testHMacSHA1Explicit ( )

hmac explicit SHA1 encryption

References crypt\hmac().

◆ testHMacMD5()

testHMacMD5 ( )

hmac explicit MD5 encryption

References crypt\hmac().

◆ testHMacFallback()

testHMacFallback ( )

If the encoder is not known, fallback into sha1 encoder (if PHP hash_hmac() exists)

References crypt\hmac().

◆ testHMacLegacy()

testHMacLegacy ( )

hmac_legacy implicit

References crypt\hmac_legacy().

◆ testHMacLegacyMD5()

testHMacLegacyMD5 ( )

hmac_legacy explicit MD5 encryption

References crypt\hmac_legacy().

◆ testHMacLegacySha1()

testHMacLegacySha1 ( )

hmac_legacy explicit Sha1 encryption

References crypt\hmac_legacy().

◆ testHMacLegacyFallback()

testHMacLegacyFallback ( )

If the encoder is not known, fallback into sha1 encoder (if PHP hash_hmac() exists)

References crypt\hmac_legacy().

◆ testCreatePassword()

testCreatePassword ( )

Password must be 8 char size and only contains alpha numerical values

References crypt\createPassword().

Field Documentation

◆ BIG_KEY_SIZE

const BIG_KEY_SIZE = 200

◆ DATA_SIZE

const DATA_SIZE = 50

The documentation for this class was generated from the following file: