You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the decryped output as a string using [defuse/php-encryption](https://github.com/defuse/php-encryption)'s library.
28
+
29
+
### encrypt($input, $key = false)
30
+
Encrypt a string, if no key is given one will be generated for you (Recommended) using [defuse/php-encryption](https://github.com/defuse/php-encryption)'s library.
31
+
32
+
### password_hash($password)
33
+
Hash the given password. This function allows for longer passwords and isn't affected by the null-byte issue.
34
+
35
+
### password_verify($password, $hash)
36
+
Verify the given password hash
37
+
38
+
### randomHex($length)
39
+
Returns a random hexadecimal number for the given length
40
+
41
+
### randomInt($min, $max)
42
+
Returns the a secure random integer within the given range.
43
+
44
+
### randomSecureKey()
45
+
Return a random key using [defuse/php-encryption](https://github.com/defuse/php-encryption)'s library.
46
+
47
+
### randomString($length)
48
+
Returns a random string for the given length
49
+
50
+
### pseudoBytes($length)
51
+
Returns random bytes for the given length
52
+
53
+
### strlen($str)
54
+
Returns the length of the given string using mb_strlen when available
0 commit comments