File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ /**
4
+ * CryptUtil: A suite of wrapper utility functions for the OpenID
5
+ * library.
6
+ *
7
+ * PHP versions 4 and 5
8
+ *
9
+ * LICENSE: See the COPYING file included in this distribution.
10
+ *
11
+ * @package OpenID
12
+ * @author JanRain, Inc. <[email protected] >
13
+ * @copyright 2005 Janrain, Inc.
14
+ * @license http://www.gnu.org/copyleft/lesser.html LGPL
15
+ */
16
+
17
+ /**
18
+ * Require the HMAC/SHA-1 implementation for creating such hashes.
19
+ */
20
+ require ('HMACSHA1.php ' );
21
+
3
22
if (!defined ('Net_OpenID_RAND_SOURCE ' )) {
4
23
/**
5
24
* The filename for a source of random bytes. Define this yourself
8
27
define ('Net_OpenID_RAND_SOURCE ' , '/dev/urandom ' );
9
28
}
10
29
11
- require ('HMACSHA1.php ' );
12
-
30
+ /**
31
+ * An array of duplicate information for the randrange function.
32
+ */
13
33
$ Net_OpenID_CryptUtil_duplicate_cache = array ();
14
34
15
35
/**
16
- * Cryptographic utility functions
36
+ * Net_OpenID_CryptUtil houses static utility functions.
37
+ *
38
+ * @package OpenID
17
39
*/
18
40
class Net_OpenID_CryptUtil {
19
41
/**
You can’t perform that action at this time.
0 commit comments