Data Encryption
Practical encryption guide covering AES-256-GCM, RSA, TLS, and key management for data at rest and in transit.
- CCM score
- 37 of 100
- skills.sh installs
- 618
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers symmetric and asymmetric encryption, key derivation, password storage, and TLS configuration for data at rest and in transit
- Includes a Node.js encryption service example plus reference guides for Node.js, Python, PostgreSQL database encryption, and TLS/SSL
- Enforces guardrails such as AES-256-GCM with authenticated tags, no ECB mode, no MD5 or SHA1, and no reused IVs or nonces
- Designed for developers securing sensitive data, meeting GDPR, HIPAA, or PCI-DSS requirements, or building end-to-end encryption
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill data-encryption -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Data Encryption
Table of Contents
Overview
Implement robust encryption strategies for protecting sensitive data at rest and in transit using industry-standard cryptographic algorithms and key management practices.
When to Use
- Sensitive data storage
- Database encryption
- File encryption
- Communication security
- Compliance requirements (GDPR, HIPAA, PCI-DSS)
- Password storage
- End-to-end encryption
Quick Start
Minimal working example:
// encryption-service.js
const crypto = require("crypto");
const fs = require("fs").promises;
class EncryptionService {
constructor() {
// AES-256-GCM for symmetric encryption
this.algorithm = "aes-256-gcm";
this.keyLength = 32; // 256 bits
this.ivLength = 16; // 128 bits
this.saltLength = 64;
this.tagLength = 16;
}
/**
* Generate a cryptographically secure random key
*/
generateKey() {
return crypto.randomBytes(this.keyLength);
}
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Security, Databases, Backend & APIs
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Time Series Analysis618
- Api Authentication613
- Refactor Legacy Code612
- Performance Testing611
- Competitor Analysis610
- Security Testing610
- Frontend Accessibility607
- Design Patterns Implementation601
- Data Cleaning Pipeline600
- Aws S3 Management599
- Database Schema Design599
- Database Query Optimization594
- Database Backup Restore593
- Memory Leak Detection593
- Technical Roadmap Planning584
- Accessibility Testing583
- Push Notification Setup582
- Database Schema Documentation579
- Data Visualization576
- App Store Deployment571
- Mobile App Debugging571
- Security Audit Logging571
- Bundle Size Optimization569
- Process Mapping567
Similar to Data Encryption
More Securitycloud-security-configurationaj-geddes/useful-ai-prompts475 installsCloud security configuration across AWS, Azure, and GCP covering identity, encryption, network controls, and threat detection.
security-documentationaj-geddes/useful-ai-prompts458 installsSecurity policy templates and compliance guidance covering SOC 2, GDPR, HIPAA, and incident response documentation.
gdpr-compliantgithub/awesome-copilot1.8K installsPractical GDPR engineering reference covering data minimization, retention, API design, logging, encryption, and secrets handling.
pci-compliancewshobson/agents11.2K installsReference guide for PCI DSS v4.0.1 compliance covering payment data handling, tokenization, and encryption for card-processing systems.