Class Hm_Crypt

extends Hm_Crypt_Base

Encryption with the libsodium extension

This extends our standard encryption and will override it if libsodium is present. Checking a password and converting cipher text to clear text fall back to the standard Hm_Crypt library if they fail. This is to ensure backwards compatibility.

Methods
Methods inherited from Hm_Crypt_Base
check_hmac(), generate_salt(), hash_compare(), pbkdf2(), unique_id(), random()
Properties inherited from Hm_Crypt_Base
$method, $hmac, $password_rounds, $encryption_rounds, $hmac_rounds