Encrypt
Table of Contents
- decrypt() : mixed
 - Decrypt the message.
 - encrypt() : mixed
 - Encrypt the message.
 - setAdapter() : object
 - Set the adapter.
 
Methods
decrypt()
Decrypt the message.
    public
            static    decrypt((mixed) $token[, mixed $adapter = null ]) : mixed
        
        Parameters
- $token : (mixed)
 - 
                    
encrypted token
 - $adapter : mixed = null
 
Tags
Return values
mixed —encrypt()
Encrypt the message.
    public
            static    encrypt((mixed) $data[, mixed $adapter = null ]) : mixed
        
        Parameters
- $data : (mixed)
 - 
                    
data to be encrypted
 - $adapter : mixed = null
 
Tags
Return values
mixed —setAdapter()
Set the adapter.
    public
            static    setAdapter((string) $adapter) : object
        
        Parameters
- $adapter : (string)