Module encoder

Source
Expand description

This module provides various encoding and decoding functions.

Functionsยง

decode_base64
Decodes a standard Base64 encoded string.
decode_binary
Decodes a binary encoded string.
decode_decimal
Decodes a decimal encoded string.
decode_hex
Decodes a hexadecimal encoded string.
decode_html_entities
Decodes a string with HTML entities.
decode_html_entities_attribute
Decodes a string with HTML attribute entities.
decode_octal
Decodes an octal encoded string.
decode_url
Decodes a URL percent-encoded string.
decode_urlsafe_base64
Decodes a URL-safe Base64 encoded string.
encode_base64
Encodes a string into standard Base64 format.
encode_binary
Encodes a string into binary format.
encode_binary_to_hex
Encodes a binary string to hexadecimal format.
encode_binary_to_integer
Encodes a binary string to integer format.
encode_binary_to_octal
Encodes a binary string to octal format.
encode_decimal
Encodes a string into decimal format.
encode_hex
Encodes a string into hexadecimal format.
encode_hex_to_binary
Encodes a hexadecimal string to binary format.
encode_hex_to_integer
Encodes a hexadecimal string to integer format.
encode_hex_to_octal
Encodes a hexadecimal string to octal format.
encode_html_entities
Encodes a string into HTML entities.
encode_html_entities_attribute
Encodes a string into HTML attribute entities.
encode_integer_to_binary
Encodes an integer string to binary format.
encode_integer_to_hex
Encodes an integer string to hexadecimal format.
encode_integer_to_octal
Encodes an integer string to octal format.
encode_md5
Encodes a string using MD5.
encode_octal
Encodes a string into octal format.
encode_octal_to_binary
Encodes an octal string to binary format.
encode_octal_to_hex
Encodes an octal string to hexadecimal format.
encode_octal_to_integer
Encodes an octal string to integer format.
encode_rot13
Encodes a string using ROT13.
encode_sha1
Encodes a string using SHA-1.
encode_sha224
Encodes a string using SHA-224.
encode_sha256
Encodes a string using SHA-256.
encode_sha384
Encodes a string using SHA-384.
encode_sha512
Encodes a string using SHA-512.
encode_sha512_224
Encodes a string using SHA-512/224.
encode_sha512_256
Encodes a string using SHA-512/256.
encode_url
Encodes a string into URL percent-encoded format.
encode_urlsafe_base64
Encodes a string into URL-safe Base64 format.