#base64 #encryption #sodium #protocols #security #secure #caesar

VibeProtocol

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.

1 unstable release

0.1.0 Apr 18, 2024

#987 in Cryptography

MIT license

7KB
67 lines

VibeProtocol

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.

Features

  • End-to-end encryption using a blend of classic and modern techniques.
  • Caesar cipher for initial transformation.
  • Sodium library for strong encryption.
  • Base64 encoding for output formatting.
  • Designed for high performance with security in mind.

Quick Start

Add VibeProtocol to your Cargo.toml:

[dependencies]
VibeProtocol = "0.1.0"

Use VibeProtocol in your project:

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);
}

Contributing

We welcome contributions! Please feel free to submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~18MB
~87K SLoC