crypto Tools
bcrypt_hash
Hash a password with bcrypt or verify a password against an existing bcrypt hash. Verify requires the 'hash' parameter.
password
bcrypt
hash
hmac_sign
Generate a hex-encoded HMAC signature for a message using a shared secret.
hmac
sign
html_entities
Encode special characters as HTML entities (e.g. & → &) or decode entities back to characters.
html
entities
jwt_decode
Decode a JWT without verifying the signature
jwt
decode
password_generate
Generate a secure random password
password
random
totp_generate
Generate a TOTP secret and current one-time code, or compute the current code for an existing secret. Returns an otpauth URI for authenticator apps.
totp
2fa
otp
authenticator
url_encode
URL-encode a string for safe use in URLs, or decode a percent-encoded string back to plain text.
url
encode
decode