Namespace Core\Encoder\Driver
Classes summary
base16 | Encodes input data in Base-16 (hexadecimal) using lowercase letters. |
base16uppercase | Encodes input data in Base-16 (hexadecimal) using uppercase letters. |
base64 | Encodes input data in Base-64. |
base64s | Encodes input data in URL and filename-safe Base-64 as of RFC3548. This encoding scheme variant uses dashes and underscores instead of plus and slash characters. |
boolean | Converts input data into Boolean TRUE or FALSE strings. |
charset | Converts input data in the globally active character set to a given destination charset. |
clear | Alias of |
crc32 | Calculates the CRC-32 checksum (hex format) from input data. |
decimal | Converts input data into decimal value strings. |
delegate | Encodes input data by passing the data through an attached delegate. |
escape | Escapes an input string with respect to a given source character set. |
escapestring | Escapes an input string as a PHP-conform string declaration with respect to a given source character set. No string delimiters are added. |
hash | Calculates a hash of any input data using a specified method. |
html | Encodes input for use as HTML CDATA. |
integer | Converts input data into integer value strings. |
md5 | Calculates the MD-5 hash of an input data string. |
md5sum | Calculates the MD-5 hash (32-byte hexadecimal representation) of input data. |
passthrough | Returns input data verbatim (without performing any encoding). |
qp | Encodes input data in quoted-printable. |
rawurl | Encodes input data using rawurlencode(). |
serialize | Serializes input data in PHP-native format with partly support for closures. |
sha | Calculates the SHA-1 hash of input data. |
sha1 | Calculates the SHA-1 hash of input data. |
sha1sum | Calculates the SHA-1 hash (40-byte hexadecimal representation) of input data. |
smd5 | Calculates a salted MD-5 hash of arbitrary input data. The hash seed is automatically generated from random data. |
split | Splits input data according to parametrised rules. |
ssha | Calculates a salted SHA-1 hash of an input data string. The hash seed is automatically generated from random data. |
taggedhash | Implements multiple hash encodings with hash method tagging, cf. RFC 2307. The encoded hash is prefixed by the hash method used in curly brackets; all encoding drivers are supported. The hash itself is stored in binary format, encoded in Base-64. |
url | Encodes input data using urlencode(). |
uu | Encodes arbitrary data in the UNIX-to-UNIX encoding. |
xml | Encodes input for use as XML CDATA. |