davidhelbig / caesa-rs

A simple rust cli for encrypting ASCII text using the caesar cipher.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

caesa-rs 👑

A simple cli for "encrypting" ascii text using a shift cipher, also known as Caesar cipher.

Usage

🔀️ The shift can be adjusted with the --key/-k parameter.

$ echo "my super secret text" | caesar -k 5  
rd xzujw xjhwjy yjcy

Only substitues ASCII alphabetic characters. Casing is preserved, whitespace and non-alphabetic characters are left unchanged.

🔴 Supplying a non-ASCII character will result in an error. 🔴 Don't use for acutal encryption. Please.

About

A simple rust cli for encrypting ASCII text using the caesar cipher.

License:MIT License


Languages

Language:Rust 100.0%