php8.5
Home/ Manual/ memcached / memcached/ Memcached::setEncodingKey

Memcached::setEncodingKey

PHP function Edit on GitHub ✎

(PECL memcached >= 3.1.0)

Set AES encryption key for data in Memcached

Description

Memcached::setEncodingKey(string $key): bool

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

Parameters

key

The AES key.

Return Values

Success

See Also

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

Source: reference/memcached/memcached/setencodingkey.xml · from the official PHP manual (php/doc-en)