https://github.com/scarletti-ben/json-enc
Tool to encrypt .json files to .enc files and vice versa using PBKDF2
https://github.com/scarletti-ben/json-enc
encryption-decryption html-css-javascript pbkdf2 sha256 webcryptoapi webdev
Last synced: 17 days ago
JSON representation
Tool to encrypt .json files to .enc files and vice versa using PBKDF2
- Host: GitHub
- URL: https://github.com/scarletti-ben/json-enc
- Owner: scarletti-ben
- License: mit
- Created: 2025-12-26T18:53:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-12-29T14:11:33.000Z (4 months ago)
- Last Synced: 2026-01-06T13:25:25.861Z (4 months ago)
- Topics: encryption-decryption, html-css-javascript, pbkdf2, sha256, webcryptoapi, webdev
- Language: JavaScript
- Homepage: https://scarletti-ben.github.io/json-enc/
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
Uses `JavaScript`'s built-in [`Web Crypto API`](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) to generate a key that can be used to encrypt and decrypt user files. If a user uploads a raw `.json` file, the file will be encrypted using the current key before being downloaded as an encrypted `.enc` file. Conversely, if a user uploads an encrypted `.enc` file, the file will be decrypted using the current key before being downloaded as a raw `.json` file.
By default the module `encryptor.js` uses `PBKDF2` / `SHA-256` / `AES-GCM` with 100,000 iterations.
# Project Metadata
```yaml
---
title: "json-enc"
date: "2025-12-26T16-08"
description: ""
categories: [
webdev
]
tags: [
html, css, javascript, encryption, decryption, .json, .enc, username, password, salt, initialization vector, initialisation vector, iv, pbkdf2, sha-256, aes-gcm, base64
]
---
```