Skip to content

Add digest helper functions for client-side xxh3 hashing#3679

Merged
ofekshenawa merged 2 commits into
masterfrom
add-digest-helper
Jan 19, 2026
Merged

Add digest helper functions for client-side xxh3 hashing#3679
ofekshenawa merged 2 commits into
masterfrom
add-digest-helper

Conversation

@ofekshenawa

Copy link
Copy Markdown
Collaborator
  • Add DigestString(s string) and DigestBytes(data []byte) to helper package
  • Use zeebo/xxh3 which matches Redis DIGEST command output
  • Add end-to-end tests verifying compatibility with Redis 8.4+
  • Update digest-optimistic-locking example to use helper functions

@jit-ci

jit-ci Bot commented Jan 19, 2026

Copy link
Copy Markdown

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

@ofekshenawa ofekshenawa marked this pull request as ready for review January 19, 2026 10:16
@ofekshenawa ofekshenawa requested a review from ndyakov January 19, 2026 10:16

@ndyakov ndyakov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ofekshenawa, looks good!

@ofekshenawa ofekshenawa merged commit 41dcf38 into master Jan 19, 2026
31 checks passed
@ofekshenawa ofekshenawa deleted the add-digest-helper branch January 19, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants