md5_hmac

Description

Password-encryption function used in YaBB SE and SMF 1.0.x. Included in later versions for compatibility.

Syntax

string md5_hmac (string $data, string $key)



Parameter $data

Expected type: String
Description: The data to encrypt (usually a password)



Parameter $key

Expected type: String
Description: The key to use with the encryption



Return value

Expected type: String
Description: The encrypted data


Notes

  • This was used for encrypting passwords in SMF 1.0.x and YaBB SE
  • Included for compatibility so you don't have to change your password after upgrading
Advertisement: