
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
A multi-layered, adaptive encryption system inspired by the Borg from Star Trek. This system uses multiple encryption algorithms in sequence, including post-quantum resistant algorithms, to create an extremely secure encryption mechanism.
pip install borg-encryption
# Encrypt a text message
borg-encrypt encrypt --text "Resistance is futile" --key "your-password" --local
# Decrypt a text message
borg-encrypt decrypt --file encrypted.txt --key "your-password" --local
# Encrypt a file
borg-encrypt encrypt-file --file secret.pdf --key "your-password" --output secret.encrypted --local
# Decrypt a file
borg-encrypt decrypt-file --file secret.encrypted --key "your-password" --output secret.pdf --local
# Start the API server
borg-encrypt server --port 8000
from borg_encryption import BorgEncryption
# Create an encryption instance
borg = BorgEncryption("your-password")
# Encrypt data
message = "Resistance is futile. Your biological and technological distinctiveness will be added to our own."
encrypted = borg.encrypt(message)
# Decrypt data
decrypted = borg.decrypt_to_string(encrypted)
print(decrypted) # Should print the original message
from borg_encryption.client import BorgAPIClient
# Create a client
client = BorgAPIClient("http://localhost:8000", "your-api-key")
# Encrypt a message
encrypted = client.encrypt_text("Resistance is futile", "your-password")
# Decrypt a message
decrypted = client.decrypt_text(encrypted, "your-password")
MIT License
FAQs
Borg Encryption System - A multi-layered, adaptive encryption system
We found that borg-encryption demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.