[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GY4V9FAQSK0R1THR3Z1MHC":3,"skill-same:01M6GY4V9FAQSK0R1THR3Z1MHC":102},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6GY4V9FAQSK0R1THR3Z1MHC","implementing-aes-encryption-for-data-at-rest",null,"AES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data. This skill covers implementing AES-256 encryption in GCM m","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"data","encryption","REST","aes","implementing aes encryption for data at rest","at","cybersecurity","NIST","cryptography","data-at-rest","symmetric-encryption","cipher","protect","block","advanced","2026-11-10 10:12:30",false,"---\nname: implementing-aes-encryption-for-data-at-rest\ndescription: AES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data. This skill covers implementing AES-256 encryption in GCM m\ndomain: cybersecurity\nsubdomain: cryptography\ntags: [cryptography, encryption, aes, data-at-rest, symmetric-encryption]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Implementing AES Encryption for Data at Rest\n\n## Overview\n\nAES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data. This skill covers implementing AES-256 encryption in GCM mode for encrypting files and data stores at rest, including proper key derivation, IV\u002Fnonce management, and authenticated encryption.\n\n\n## When to Use\n\n- When deploying or configuring implementing aes encryption for data at rest capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Implement AES-256-GCM encryption and decryption for files\n- Derive encryption keys from passwords using PBKDF2 and Argon2\n- Manage initialization vectors (IVs) and nonces securely\n- Encrypt and decrypt entire directory trees\n- Implement authenticated encryption to detect tampering\n- Handle large files with streaming encryption\n\n## Key Concepts\n\n### AES Modes of Operation\n\n| Mode | Authentication | Parallelizable | Use Case |\n|------|---------------|----------------|----------|\n| GCM  | Yes (AEAD)    | Yes            | Network data, file encryption |\n| CBC  | No            | Decrypt only   | Legacy systems, disk encryption |\n| CTR  | No            | Yes            | Streaming encryption |\n| CCM  | Yes (AEAD)    | No             | IoT, constrained environments |\n\n### Key Derivation\n\nNever use raw passwords as encryption keys. Always derive keys using:\n- **PBKDF2**: NIST-approved, widely supported (minimum 600,000 iterations as of 2024)\n- **Argon2id**: Winner of Password Hashing Competition, memory-hard\n- **scrypt**: Memory-hard, good alternative to Argon2\n\n### Nonce\u002FIV Management\n\n- GCM requires a 96-bit (12-byte) nonce that must NEVER be reused with the same key\n- Generate nonces using `os.urandom()` (CSPRNG)\n- Store nonce alongside ciphertext (it is not secret)\n\n## Workflow\n\n1. Install the `cryptography` library: `pip install cryptography`\n2. Generate or derive an encryption key\n3. Create a random nonce for each encryption operation\n4. Encrypt data using AES-256-GCM with the key and nonce\n5. Store nonce + ciphertext + authentication tag together\n6. For decryption, extract nonce, verify tag, and decrypt\n\n## Encrypted File Format\n\n```\n[salt: 16 bytes][nonce: 12 bytes][ciphertext: variable][tag: 16 bytes]\n```\n\n## Security Considerations\n\n- Always use authenticated encryption (GCM, CCM) to prevent tampering\n- Never reuse a nonce with the same key (catastrophic in GCM)\n- Use at least 256-bit keys for long-term data protection\n- Securely wipe keys from memory after use when possible\n- Rotate encryption keys periodically per organizational policy\n- For disk-level encryption, consider XTS mode (AES-XTS)\n\n## Validation Criteria\n\n- [ ] AES-256-GCM encryption produces valid ciphertext\n- [ ] Decryption recovers original plaintext exactly\n- [ ] Authentication tag detects any ciphertext modification\n- [ ] Key derivation uses sufficient iterations\u002Fparameters\n- [ ] Nonces are never reused for the same key\n- [ ] Large files (>1GB) can be processed via streaming\n- [ ] Encrypted file format includes all necessary metadata\n","# Implementing AES Encryption for Data at Rest\n\n## Overview\n\nAES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data. This skill covers implementing AES-256 encryption in GCM mode for encrypting files and data stores at rest, including proper key derivation, IV\u002Fnonce management, and authenticated encryption.\n\n\n## When to Use\n\n- When deploying or configuring implementing aes encryption for data at rest capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Implement AES-256-GCM encryption and decryption for files\n- Derive encryption keys from passwords using PBKDF2 and Argon2\n- Manage initialization vectors (IVs) and nonces securely\n- Encrypt and decrypt entire directory trees\n- Implement authenticated encryption to detect tampering\n- Handle large files with streaming encryption\n\n## Key Concepts\n\n### AES Modes of Operation\n\n| Mode | Authentication | Parallelizable | Use Case |\n|------|---------------|----------------|----------|\n| GCM  | Yes (AEAD)    | Yes            | Network data, file encryption |\n| CBC  | No            | Decrypt only   | Legacy systems, disk encryption |\n| CTR  | No            | Yes            | Streaming encryption |\n| CCM  | Yes (AEAD)    | No             | IoT, constrained environments |\n\n### Key Derivation\n\nNever use raw passwords as encryption keys. Always derive keys using:\n- **PBKDF2**: NIST-approved, widely supported (minimum 600,000 iterations as of 2024)\n- **Argon2id**: Winner of Password Hashing Competition, memory-hard\n- **scrypt**: Memory-hard, good alternative to Argon2\n\n### Nonce\u002FIV Management\n\n- GCM requires a 96-bit (12-byte) nonce that must NEVER be reused with the same key\n- Generate nonces using `os.urandom()` (CSPRNG)\n- Store nonce alongside ciphertext (it is not secret)\n\n## Workflow\n\n1. Install the `cryptography` library: `pip install cryptography`\n2. Generate or derive an encryption key\n3. Create a random nonce for each encryption operation\n4. Encrypt data using AES-256-GCM with the key and nonce\n5. Store nonce + ciphertext + authentication tag together\n6. For decryption, extract nonce, verify tag, and decrypt\n\n## Encrypted File Format\n\n```\n[salt: 16 bytes][nonce: 12 bytes][ciphertext: variable][tag: 16 bytes]\n```\n\n## Security Considerations\n\n- Always use authenticated encryption (GCM, CCM) to prevent tampering\n- Never reuse a nonce with the same key (catastrophic in GCM)\n- Use at least 256-bit keys for long-term data protection\n- Securely wipe keys from memory after use when possible\n- Rotate encryption keys periodically per organizational policy\n- For disk-level encryption, consider XTS mode (AES-XTS)\n\n## Validation Criteria\n\n- [ ] AES-256-GCM encryption produces valid ciphertext\n- [ ] Decryption recovers original plaintext exactly\n- [ ] Authentication tag detects any ciphertext modification\n- [ ] Key derivation uses sufficient iterations\u002Fparameters\n- [ ] Nonces are never reused for the same key\n- [ ] Large files (>1GB) can be processed via streaming\n- [ ] Encrypted file format includes all necessary metadata\n",{"name":5,"tags":43,"author":44,"domain":29,"license":14,"version":45,"subdomain":31,"description":7},[31,24,26,32,33],"mahipal","1.0","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add micsapp\u002Fmicstec-skills --skill implementing-aes-encryption-for-data-at-rest",{"tool":59,"command":60},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill implementing-aes-encryption-for-data-at-rest",{"tool":62,"command":63},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill implementing-aes-encryption-for-data-at-rest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002FSKILL.md",true,[67,73,78,84,88,92,98],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"assets\u002Ftemplate.md","ASSET","资产文件",2977,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Fassets\u002Ftemplate.md",{"path":74,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002FLICENSE",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fapi-reference.md","REFERENCE","参考文档",1854,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Freferences\u002Fapi-reference.md",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fstandards.md",3334,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Freferences\u002Fstandards.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fworkflows.md",2963,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Freferences\u002Fworkflows.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fagent.py","SCRIPT","脚本",5383,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Fscripts\u002Fagent.py",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fprocess.py",11679,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-aes-encryption-for-data-at-rest\u002Fscripts\u002Fprocess.py",[103,139,169,190,210,235],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":118,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[110,115],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":116,"categoryName":117,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师",[119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":153,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[145,146,149,152],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},{"categoryNo":147,"categoryName":148,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":150,"categoryName":151,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":116,"categoryName":117,"taxonomyType":20,"taxonomyTypeDesc":21},[154,155,156,157,120,158,159,160,161,162,163,164,128,129,135,165,166,136,167,168],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD","implementing",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":176,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[175],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},[177,178,179,180,120,123,128,129,181,182,183,184,185,186,187,136,188,189,168,138],"policy","authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":198,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[196,197],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},{"categoryNo":116,"categoryName":117,"taxonomyType":20,"taxonomyTypeDesc":21},[199,180,200,128,184,201,120,154,202,203,204,205,129,206,136,207,208,209,137,138],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":211,"name":212,"nameZh":6,"description":213,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":214,"categories":215,"keywords":216,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[217,218,219,156,220,221,222,223,128,224,225,226,227,228,229,230,231,232,233,234],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":236,"name":237,"nameZh":6,"description":238,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":107,"licenseFileUrl":6,"sourceHtmlUrl":239,"categories":240,"keywords":241,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[237,242,243,244,245,246,247,182,248,249],"npm","js","calculate","node","math","user","compute","errors"]