-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
sha1
Description
Returns the sha1 hash of the specified string.
Syntax
string sha1 (string $str)
Parameter $str
Expected type: String
Description: An unencrypted string
Return value
Expected type: String
Description: The sha1 hash of the given string
Notes
- Basically equivalent to the PHP function of the same name
- Only defined in PHP 4.2.x or lower (native PHP version added in PHP 4.3.0)
- If the mhash extension is detected, SMF will use it instead
- Uses the additional sha1 functions defined here to calculate the hash
- Additional sha1 functions are not documented as they have no significant meaning to the average user
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.014 seconds with 13 queries.
- Forum Search