DownloadCookie
Namespace: \ParagonIE\Halite
Encrypted cookie storage, powered by our symmetric-key cryptography.
Properties
protected $key
Stores the encryption key for this instance of Cookie.
Methods
Constructor
Arguments:
fetch()
> public fetch(string $name)
Fetch the data stored in an encrypted cookie.
store()
> public store(string $name, mixed $value, int $expire = 0, string $path = '/', string $domain = null, boolean $secure = true, boolean $httponly = true)
Encrypt then store a cookie. |