Memcached::setEncodingKey

Set AES encryption key for data in Memcached

Description

public bool Memcached::setEncodingKey(string $key)

This method sets the AES encryption/decryption key for data written to and read from Memcached.

Parameters

key
The AES key.

Return Values

Returns true on success or false on failure.

See Also

  • Memcached::get
  • Memcached::add
  • Memcached::set