A simple VS Code extension that provides XOR encryption and decryption functionality for your documents.
Features
XOR encrypt your document content with a numeric key (0-255) or a string key
XOR decrypt previously encrypted content
Simple and fast operation
Works with any text document
Usage
Open any text document in VS Code
Press F1 or Ctrl+Shift+P to open the command palette
Type and select one of the following commands:
XOR: Encrypt/Decrypt Document With A Number - to encrypt the current document with a number(0 ~255)
XOR: Encrypt/Decrypt Document With A String - to decrypt the current document with a string
Important Notes
Always remember your encryption key! You need the same key to decrypt the content.
When using Encrypt/Decrypt With Number, it is performed byte by byte, and the file will be automatically saved.
It's recommended to backup your documents before encryption.
This is a simple XOR encryption suitable for basic document protection.
Requirements
VS Code 1.60.0 or higher
Extension Settings
This extension does not contribute any settings yet.
Known Issues
None reported yet.
Release Notes
0.0.1
Initial release of XOR Crypto Extension:
Basic XOR encryption/decryption functionality
Numeric key(0-255) and string key support
Document-wide operation
0.0.2
Icon added.
When using Encrypt/Decrypt With Number, it is performed byte by byte, and the file will be automatically saved.
Security Note
XOR encryption is a simple form of encryption and should not be used for securing sensitive information. This extension is intended for educational purposes and basic document protection only.