PHP 8.4.6 Released!

Memcached::setEncodingKey

(PECL memcached >= 3.1.0)

Memcached::setEncodingKeySet AES encryption key for data in Memcached

Description

public 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

Returns true on success or false on failure.

See Also

User Contributed Notes

There are no user contributed notes for this page.
To Top