public static function Utilities::stringToHex in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
1 call to Utilities::stringToHex()
- Utilities::generateID in includes/
Utilities.php
File
- includes/
Utilities.php, line 638
Class
- Utilities
- This file is part of miniOrange SAML plugin.
Code
public static function stringToHex($bytes) {
$ret = '';
for ($i = 0; $i < strlen($bytes); $i++) {
$ret .= sprintf('%02x', ord($bytes[$i]));
}
return $ret;
}