Giter Site home page Giter Site logo

caeser_ecnrypt-'s Introduction

caeser_ecnrypt-

一个凯撒加密程序,可使用命令行参数,偏移量限制在int类型范围内

程序输出结果 存储在 result.txt 内

命令行参数

-b [偏移量]
-i [要加密/解密的文件名]

示例,e.g.

加密

caeser_encrypt -b 123 -i target.txt

解密

caeser_encrypt -b -123 -i target.txt

也可以不加命令行参数,直接进入程序按照提示输入偏移量 和 文件名

注意事项

程序输出结果 存储在 result.txt 内

偏移量 只能是整数,不支持 小数

程序限制了偏移量不超过31位(小于int类型的最大上限)

解密应使用加密时偏移量的负值

caeser_ecnrypt-'s People

Contributors

jzy-byte-cmd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.