Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulgreg/mypastebin
A simple pastebin in node, for personal usage
https://github.com/paulgreg/mypastebin
encryption javascript node pastebin
Last synced: 2 months ago
JSON representation
A simple pastebin in node, for personal usage
- Host: GitHub
- URL: https://github.com/paulgreg/mypastebin
- Owner: paulgreg
- License: mit
- Created: 2022-09-25T11:55:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T06:47:17.000Z (4 months ago)
- Last Synced: 2024-09-13T18:42:57.668Z (4 months ago)
- Topics: encryption, javascript, node, pastebin
- Language: JavaScript
- Homepage:
- Size: 348 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - paulgreg/mypastebin - A simple pastebin in node, for personal usage (node)
README
# mypastebin
A simple pastebin in node, allowing you to post text or file for a limited time.
### Optional encryption for text
You can optionally add a password to encrypt text (or code).
The password is then turned into a key using PBKDF2 and message is encrypted using AES-GCM with a 256 bits key size. Encryption and decryption is done in the browser.
The initialization vector (IV) and password’s salt is sent to server.
The purpose of IV and salt is to have different encoded message even if text or password are the same.Beware, files are not encrypted ! (but you can easily zip your file with a password if needed)
### Server details
Texts are stored in memory while files are stored in temporary directory.
A global limit is set for texts (1 Mb) and files (1 Gb), to avoid filling memory or hard drive space.
Also, there’s a limit for each piece ot text (100 Kb) and file (100 Mb).