Airship\Engine\Cache\SharedMemory::getSHMKey PHP Method

getSHMKey() public method

Compute an integer key for shared memory
public getSHMKey ( string $lookup ) : string
$lookup string
return string
    public function getSHMKey(string $lookup) : string
    {
        return Base64UrlSafe::encode(\Sodium\crypto_shorthash($this->personalization . $lookup, $this->cacheKeyL) . \Sodium\crypto_shorthash($this->personalization . $lookup, $this->cacheKeyR));
    }