Memcached::setEncodingKey

(PECL memcached >= 3.1.0)

Memcached::setEncodingKeySet AES encryption key for data in Memcached

说明

public Memcached::setEncodingKey(string $key): bool

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

参数

key
The AES key.

返回值

成功时返回 true, 或者在失败时返回 false

参见