luki / caesarlib-rs Goto Github PK
View Code? Open in Web Editor NEWCaesar Cipher Library for Rust.
License: MIT License
Caesar Cipher Library for Rust.
License: MIT License
@Natim Is that a good idea?
It would be nice to add a --random
option to the CLI tool to choose an offset automatically.
The offset could be returned as the CLI exit code.
As noticed by @Natim
Working on the algorithm :)
caesarlib --method encipher --offset 52 --text Carolus\ Magnus
Result: Carolus Magnus
Offset: 52
caesarlib --method encipher --offset 104 --text Carolus\ Magnus
Result: Carolus Magnus
Offset: 104
caesarlib --method encipher --offset 12168 --text Carolus\ Magnus
Result: Carolus Magnus
Offset: 12168
How about some functions that allow one to have a custom sequence other than "ABC...Zabc..z"? It would enable the support for foreign character systems as well, such as Hiragana/Katakana in Japanese.
@Natim what is this function meant to test exactly? I couldn't comprehend it and temporarily uncommented the function as a result. I hope that's okay.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.