SadieFish

Crates.ioSadieFish
lib.rsSadieFish
version0.1.1
sourcesrc
created_at2023-04-10 14:39:53.877048
updated_at2023-04-10 14:39:53.877048
descriptionA Rust cryptography library for educational purposes
homepage
repositoryhttps://github.com/AitSad/SadieFish
max_upload_size
id835186
size22,622
Aitzaz Imtiaz (AitzazImtiaz)

documentation

README

SadieFish

SadieFish is a cryptography library written in Rust. It provides a set of encryption algorithms and utilities for use in applications that require secure data storage and transmission.

Features

  • Caesar cipher
  • Vigenère cipher
  • Advanced Encryption Standard (AES) [Pending]
  • Data Encryption Standard (DES) [Pending]
  • Base64 encoding/decoding [Pending]
  • Hexadecimal encoding/decoding

Installation

To use SadieFish in your Rust project, add the following to your Cargo.toml file:

[dependencies]
SadieFish = { git = "https://github.com/AitSad/SadieFish" }

Usage

To use SadieFish in your Rust code, import the necessary modules:

use SadieFish::encryption::{caesar, vigenere};
use SadieFish::utils::{hex};

Then, call the desired encryption or utility function. For example, to encrypt a message using the Caesar cipher:

let message = "Hello, world!";
let key = 3;
let encrypted = caesar::encrypt(message, key);
println!("Encrypted message: {}", encrypted);
Commit count: 52

cargo fmt