| Crates.io | VibeProtocol |
| lib.rs | VibeProtocol |
| version | 0.1.0 |
| created_at | 2024-04-18 21:38:19.582874+00 |
| updated_at | 2024-04-18 21:38:19.582874+00 |
| description | Vibe Protocol is a secure, decentralized, and privacy-focused messaging protocol. Its designed using Sodium, Base64, and other cryptographic libraries to ensure the highest level of security and privacy. |
| homepage | |
| repository | https://github.com/vibechatorg/VibeProtocol |
| max_upload_size | |
| id | 1212967 |
| size | 9,216 |
VibeProtocol is a fast and secure encryption library for Rust, providing end-to-end encryption with a focus on performance and security. It combines the simplicity of the Caesar cipher with the robustness of libsodium's encryption mechanisms and base64 encoding.
Add VibeProtocol to your Cargo.toml:
[dependencies]
VibeProtocol = "0.1.0"
use VibeProtocol::{encrypt, decrypt};
fn main() {
let message = "Secret Message";
let caesar_shift = 13;
let (encrypted_message, nonce, key) = encrypt(message, caesar_shift).unwrap();
let decrypted_message = decrypt(&encrypted_message, &nonce, &key, caesar_shift).unwrap();
assert_eq!(message, decrypted_message);
}
We welcome contributions! Please feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.