DIGEST key
@read,
@string,
@fast,
Get the hash digest for the value stored in the specified key as a hexadecimal string. Keys must be of type string.
A hash digest is a fixed-size numerical representation of a string value, computed using the XXH3 hash algorithm. Redis uses this hash digest for efficient comparison operations without needing to compare the full string content. You can use these hash digests with the SET command's IFDEQ and IFDNE options, and also the DELEX command's IFDEQ and IFDNE options.
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ❌ Standard ❌ Active-Active |
❌ Standard ❌ Active-Active |
One of the following: