Skill / SKILL.md

Constant Time Secret Compare

randommonicle/claude-skills

Compare bearer tokens, API secrets, signatures, and password-equivalents with a constant-time comparison (hash both sides, then crypto.timingSafeEqual) — never == or short-circuiting string equality. Triggers when writing any code that checks a secret against a stored or expected value. Does not fire on comparing non-secret identifiers.
2 views 27 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Compare bearer tokens, API secrets, signatures, and password-equivalents with a constant-time comparison (hash both sides, then crypto.timingSafeEqual) — never == or short-circuiting string equality. Triggers when writing any code that checks a secret against a stored or expected value. Does not fire on comparing non-secret identifiers.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/randommonicle/claude-skills' skill-source

Use the complete skill-source/constant-time-secret-compare directory with your client’s skill installer.

  • constant-time-secret-compare

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory constant-time-secret-compare

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4b50a3f13838c3b2ce03b8ed48f5d625bc875f32ff9a8366e20b74dbee40ac04
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills