2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$this->assertEquals($expected_hmac,$hmac,'The correct hmac was not calculated.');
}
/**
* Provides data for self::testHashBase64().
*
* @return array Test data.
*/
publicfunctionproviderTestHashBase64(){
returnarray(
array(
'data'=>'The SHA (Secure Hash Algorithm) is one of a number of cryptographic hash functions. A cryptographic hash is like a signature for a text or a data file. SHA-256 algorithm generates an almost-unique, fixed size 256-bit (32-byte) hash. Hash is a one way function – it cannot be decrypted back. This makes it suitable for password validation, challenge hash authentication, anti-tamper, digital signatures.',