crypto-patterns

Implement cryptographic patterns for password hashing, encryption, and JWT authentication.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill crypto-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-patterns
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skill-library/stack/security/crypto-patterns
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill crypto-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides developers with essential cryptographic patterns and code examples to securely implement authentication, data encryption, key management, and more, preventing common security vulnerabilities.

Core Features & Use Cases

  • Password Hashing: Securely store user passwords using bcrypt or Argon2id.
  • Data Encryption: Encrypt sensitive data at rest or in transit using AES-256-GCM.
  • JWT & HMAC: Implement secure token-based authentication and webhook verification.
  • Secure Random Generation: Generate cryptographically secure random values for tokens and IDs.
  • Use Case: When building a user registration system, use this Skill's password hashing examples to protect user credentials from breaches.

Quick Start

Use the crypto-patterns skill to securely hash a user's password using bcrypt.

Frequently Asked Questions about crypto-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely hash passwords using bcrypt or Argon2id?

To securely hash passwords, use bcrypt or Argon2id algorithms which protect user credentials from breaches. This Skill provides code examples for implementing secure password hashing in user registration systems.

What is the best way to encrypt sensitive data with AES-256-GCM?

Use AES-256-GCM symmetric encryption to securely encrypt sensitive data at rest or in transit. This Skill provides cryptographic patterns and code examples for implementing secure data encryption.

How do I implement HMAC for webhook verification?

Implement HMAC for webhook verification by using cryptographic patterns to validate secure communication. This Skill provides code examples for integrating HMAC alongside JWT best practices for token-based authentication.

Can I use this for JWT best practices in token-based authentication?

Yes, this Skill covers JWT best practices and standards for implementing secure token-based authentication. It provides code examples for JWT alongside HMAC for webhook verification.

How do I generate cryptographically secure random values for tokens?

Generate cryptographically secure random values for tokens and IDs using the secure random generation patterns provided by this Skill. This addresses security needs in authentication and secure communication protocols.

Does this cover key management and TLS for secure communication?

Yes, this Skill covers key management and TLS for secure communication protocols. It provides cryptographic patterns and code examples for secure software development addressing data protection and secure communication needs.