Back to Skills

wycheproof

Wycheproof provides test vectors for validating cryptographic implementations. Use when testing crypto code for known attacks and edge cases.

5,355stars472forksUpdated 5/24/2026

Security Assessment

Safe(100/100)
Security Score100/100

About wycheproof

Wycheproof is a cryptographic testing skill focused on validating the correctness and security of cryptographic implementations using standardized test vectors. It helps developers identify weaknesses in crypto code by testing implementations against known attacks, malformed inputs, and edge cases. The project provides structured input/output test cases that verify whether cryptographic operations correctly accept valid data and reject invalid or dangerous inputs. This reduces the risk of vulnerabilities such as signature forgery, invalid curve attacks, message decryption flaws, and interoperability issues between different implementations.

The skill includes extensive test vector coverage for established cryptographic algorithms including AES-GCM, AES-EAX, ChaCha20-Poly1305, ECDSA, EdDSA, RSA-PSS, RSA-PKCS1, and ECDH. Test vectors are organized into test groups that share attributes such as key sizes, curves, or initialization vector parameters. The repository provides JSON-based test vector files, schemas, and reference testing harnesses for Java and JavaScript environments. It supports workflows for parsing vectors, writing automated validation harnesses, and integrating crypto verification into CI/CD pipelines. The newer `testvectors_v1` directory provides more detailed test metadata and is recommended for new integrations.

This skill is intended for security engineers, cryptographic library maintainers, backend developers, auditors, and teams building applications that rely on secure encryption or digital signatures. It is especially useful when validating third-party cryptographic code, testing protocol implementations, or ensuring consistent behavior across platforms. Wycheproof is best suited for established cryptographic algorithms and known attack scenarios rather than discovering entirely new vulnerabilities or testing timing side-channel resistance.

FAQ

What is Wycheproof primarily used for?

Wycheproof is used to validate cryptographic implementations against known attacks, malformed inputs, and edge cases using structured test vectors.

Which cryptographic algorithms are supported?

The provided content mentions support for algorithms including AES-GCM, AES-EAX, ChaCha20-Poly1305, ECDSA, EdDSA, RSA-PSS, RSA-PKCS1, and ECDH.

Can Wycheproof be integrated into automated testing pipelines?

Yes. The workflow described includes integrating test vector validation into CI/CD pipelines and automatically updating test vectors.

Does Wycheproof help discover new cryptographic vulnerabilities?

No. Wycheproof focuses on testing against known attacks and edge cases. The content recommends fuzzing tools for discovering unknown bugs.

What repository data should new integrations use?

New integrations should prefer the `testvectors_v1` directory because it contains more detailed information compared to the older `testvectors` directory.

Install wycheproof

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill