Git Product home page Git Product logo

simplerailfencecipher's Introduction

SimpleRailFenceCipher

简单栅栏加密解密器——Go语言版

Go版本:1.5

Go包依赖:
github.com/codegangsta/cli

Features

加密

./SimpleRailFenceCipher encode "明文" [栅栏数]
加密时在不能均匀分栏的情况下,将会在明文末尾补充“.”。

示例

./SimpleRailFenceCipher encode "the anwser is wctf{C01umnar},if u is a big new,u can help us think more question,tks." 17

========Simple Rail Fence Cipher========
输入明文为:the anwser is wctf{C01umnar},if u is a big new,u can help us think more question,tks.
加密栅栏数为:17

加密结果:tn c0afsiwal kes,hwit1r  g,npt  ttessfu}ua u  hmqik e {m,  n huiouosarwCniibecesnren.

解密

./SimpleRailFenceCipher decode "密文"

示例

./SimpleRailFenceCipher decode "tn c0afsiwal kes,hwit1r  g,npt  ttessfu}ua u  hmqik e {m,  n huiouosarwCniibecesnren."

========Simple Rail Fence Cipher========
密文为:tn c0afsiwal kes,hwit1r  g,npt  ttessfu}ua u  hmqik e {m,  n huiouosarwCniibecesnren.

解密情况:
1) 5栏栅栏解密:
taastg su km uwbnnfl,1, sah ,hoCer s hrntf me usncecikw ptuuq  iaien0wei te} i{noris.

2) 17栏栅栏解密:
the anwser is wctf{C01umnar},if u is a big new,u can help us think more question,tks.

LICENSE

Licensed under the MIT license

simplerailfencecipher's People

Contributors

one2r avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.