The Encrypt library provides two-way encryption of text and binary strings using the MCrypt extension (http://php.net/mcrypt)
This is the code documentation for the SproutCMS project
Search documentation |
class EncryptThe Encrypt library provides two-way encryption of text and binary strings using the MCrypt extension (http://php.net/mcrypt)
Variables
Functions
public __constructvoid $Encrypt->__construct ( [ array|string $config ] ); Loads encryption configuration and validates the data. public decodestring $Encrypt->decode ( string $data ); Decrypts an encoded string back to its original value. public encodestring $Encrypt->encode ( string $data ); Encrypts a string and returns an encrypted string that can be decoded. public instanceEncrypt Encrypt::instance ( [ array $config ] ); Returns a singleton instance of Encrypt. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|