-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
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 for the encryption
Return value
Expected type: String
Description: The encrypted string
Notes
- This is an extremely complex function
- This is a modified version of PHP's md5 function
- See Wikipedia for lots of technical details on MD5 and HMAC
- Moved to LogInOut.php in 1.1 (which uses sha1 instead)
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.118 seconds with 13 queries.
- Forum Search