{"id":21109966,"url":"https://github.com/anuuragg/aes-in-node.js","last_synced_at":"2026-01-04T22:01:36.704Z","repository":{"id":255989429,"uuid":"854052254","full_name":"anuuragg/AES-in-Node.js","owner":"anuuragg","description":"Implementing the Advanced Encryption Standard (AES) in Node.js using the Crypto module.","archived":false,"fork":false,"pushed_at":"2024-09-13T11:53:40.000Z","size":3081,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T16:54:38.645Z","etag":null,"topics":["advanced-encryption-standard","aes-encryption","crypto","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anuuragg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-08T09:25:24.000Z","updated_at":"2024-09-13T11:53:44.000Z","dependencies_parsed_at":"2024-09-13T23:32:38.752Z","dependency_job_id":null,"html_url":"https://github.com/anuuragg/AES-in-Node.js","commit_stats":null,"previous_names":["anuuragg/aes-in-node.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anuuragg/AES-in-Node.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuuragg%2FAES-in-Node.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuuragg%2FAES-in-Node.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuuragg%2FAES-in-Node.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuuragg%2FAES-in-Node.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anuuragg","download_url":"https://codeload.github.com/anuuragg/AES-in-Node.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuuragg%2FAES-in-Node.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28209128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-04T02:00:06.065Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advanced-encryption-standard","aes-encryption","crypto","nodejs"],"created_at":"2024-11-20T00:57:30.217Z","updated_at":"2026-01-04T22:01:36.666Z","avatar_url":"https://github.com/anuuragg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AES-in-Node.js\n\nThis project demonstrates how to implement Advanced Encryption Standard (AES) encryption and decryption in Node.js using the `crypto` module. It allows encrypting and decrypting files, such as images, using AES-256-CBC mode.\n\n## Features\n\n- **AES-256 Encryption**: Uses 256-bit keys for robust encryption.\n- **File Encryption \u0026 Decryption**: Can encrypt and decrypt files like `.jpg`, `.jpeg`, `.png`, or any other file type.\n- **Dynamic Key Generation**: Generates a new random key for each encryption.\n\n## Prerequisites\n\n- **Node.js**\n- **npm** (or yarn)\n\n## Setup and Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/anuuragg/AES-in-Node.js.git\n    cd AES-in-Node.js\n    ```\n\n2. Install the necessary dependencies:\n\n    ```bash\n    npm install\n    ```\n\n## Usage\n\n### Encrypt a File\n\nRun the encryption script to encrypt a file. The encrypted file will be stored in the `encrypted_files` folder.\n\n```bash\nnode src/encryption/encrypt.js\n```\n\n### Decrypt a File\n\nRun the decryption script to decrypt an encrypted file. The decrypted file will be stored in the `decrypted_files` folder.\n\n```bash\nnode src/encryption/decrypt.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuuragg%2Faes-in-node.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanuuragg%2Faes-in-node.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuuragg%2Faes-in-node.js/lists"}