美文网首页
Asemica---一款神奇的加密明文工具

Asemica---一款神奇的加密明文工具

作者: yangc随想 | 来源:发表于2019-02-21 15:58 被阅读0次

Asemica会将明文加密成类似明文,而且一般人难以发现

环境准备

下载地址:

https://github.com/linenoise/asemica
┌─[thekingofnight@parrot]─[~/Tools/Cropty]
└──╼ $git clone https://github.com/linenoise/asemica

使用

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica 
Asemica: an asemic Markov-chained cipher, v. 1.0
Usage: ./asemica (enc|dec) -c <corpus_file> [-i <input_file>] [-o <output_file>] [-f <format>] [--force] [--help]

OPTIONS:
   -c/--corpus:  specify corpus filename or URL
   -i/--input:   specify input filename (defaults to STDIN)
   -o/--output:  specify output filename (defaults to STDOUT)
   -f/--format:  specify output format (defaults to none)
   --force:      forces runtime on an insufficiently complex corpus
   --help:       displays this message
   -v/--verbost: increments verbosity setting (used for debugging)
AVAILABLE FORMATS:
   none:         doesn't format output; returns only word list
   email:        formats output to look like an informal email
   poem:         if you want your output to look like poetry
EXAMPLES
   echo "message" | ./asemica enc -c corpus.txt -o asemic.txt
   ./asemica dec -c corpus.txt -i asemic.txt

一些案例(参考手册中的EXAMPLES)

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $echo "Hi,I'm theKingOfNight!"|./asemica enc -C LICENSE.txt -o test.txt
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $ls
asemica  LICENSE.txt  README.md  test.txt
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $cat test.txt 
License June C Software States not anything users regenerate from conditions The Affero Public 
along any claim infringed making an code source a against work's Libraries dynamically subprograms 
the Conveying those and All example Source The If HOLDER ANY agreement commitment to QUALITY 
PERFORMANCE THE Conveying any license a Product example you add to New will useful WITHOUT OF 
License anyone conveys material e the Information to FOR The Conveying those However 
you add to FOR an if distribute or FAILURE THE AND Information a Conveying object whose code source 
as THE By Corresponding 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica dec -C LICENSE.txt -i test.txt 
Hi,I'm theKingOfNight!

openssl加密

openssl加密意味着没有密钥就不可以成功解密

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $echo "Hi.I'm theKingOfNight and this is with openssl!"|openssl bf -pass pass:p4ssw0rd|./asemica enc -C LICENSE.txt -o test.txt 
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $cat test.txt 
the INCLUDING physical customarily for and OF Freedom share change versions give who a END 
TERMS courts apply the AS license attempt to New will apply law WHEN speak free precise and 
Corresponding fixed a based work any of However does require special OR Limitation Liability 
a Product by data DATA RENDERED OR Additional permissive terms prohibit from copies your from 
network violates rules protocols communication control Those whom convey at For compliance 
third of Major and and All liability these e to Nothing this acknowledges rights Anti Law most our 
it been and are by authors that be but differ detail address problems concerns version the GPL prohibit
 from copyright Free license also the By Corresponding includes convenient prominently feature displays
 appropriate of GPL your permission run copy a OF Corresponding under previous plus right grant patent
 and a END TERMS do This Therefore modifying private Propagation a In THE IS YOU an copy this But
 entire remains by manner by manner with NO password key unpacking or Access install for Corresponding 
conveyed this are by data DATA or Access copy or Access copy License June C misrepresentation 
the By copyright Notwithstanding other the HOLDERS OR OTHER for The Information this The A 
based the A Conveying Program WITH Major or BEING to Installation for and Corresponding 
along this GPL that a OF Corresponding under License a PURPOSE or Each an code or Access legal 
displayed works licenses under patent the If are on copy includes definition includes right grant under 
d the AS from copy Corresponding Regardless what individual permit your any EITHER that If do 
convey machine Corresponding Regardless whether court agreement otherwise propagate work a 
Library may be in code any from any HOLDER a OF KIND 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica dec -C LICENSE.txt -i test.txt 
3��4@�o�&�܊�
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica dec -C LICENSE.txt -i test.txt |openssl bf -d -pass pass:worngpassword
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
140679471490112:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:537:
L;�@�`�{��U�[�@%S�~uu�ڷ����f�A��J�
                                  �,�e��'��
┌─[✗]─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica dec -C LICENSE.txt -i test.txt |openssl bf -d -pass pass:p4ssw0rd
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Hi.I'm theKingOfNight and this is with openssl!

邮件格式

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $echo "Hi.I'm theKingOfNight and this is with email!"|./asemica enc -C LICENSE.txt -f email -o test.txt 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $cat test.txt 
This,

   Any PARTY the GPL prohibit practice patent covenant to Nothing this For an code source a.  Against party BEEN or FAILURE THE A In License by Free you actual.  That are granted to These e to FOR an?  If cannot given distinguishing number the Conveying covered means kind?  Propagation copying provided inform peers the Information a Conveying Copies your have!  Can it any and Corresponding in You apply way could it any HOLDER ANY!  Agreement commitment to FOR copy Corresponding as by access a.  OF Freedom price each an code in.  Appropriate Notices that The AS license June C?

   Individual of Freedom change works Inclusion a Product.  Example may it code A In area products individuals use modify is consumer doubtful shall resolved.  Favor coverage a available server Corresponding Regardless how?  Contact by License by exceptions above LIABLE infringement grant sublicenses a Product example Source The.  If HOLDER reinstated do convey copies the A In business distributing under copyright for The.  For The GPL needed generate and Information how Apply!  Follow later versions such When speak free precise and Information this The Ancillary of.

For,
Copies
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──╼ $./asemica dec -C LICENSE.txt -i test.txt 
Hi.I'm theKingOfNight and this is with email!

参考

https://www.youtube.com/watch?v=_sqNuho32-M
https://github.com/linenoise/asemica

相关文章

  • Asemica---一款神奇的加密明文工具

    Asemica会将明文加密成类似明文,而且一般人难以发现 环境准备 下载地址: 使用 一些案例(参考手册中的EXA...

  • Java加解密学习笔记

    java加解密 密码常用术语 明文:待加密信息 密文:经过加密后的明文 加密:明文转为密文的过程 加密算法:明文转...

  • Java实现Base64加密

    密码常用术语 明文:待加密信息; 密文:经过加密后的明文; 加密:明文转为密文的过程; 加密算法:明文转为密文的转...

  • 加密&解密

    对称加密 & 非对称加密 明文: 明文指的是未被加密过的原始数据。 密文:明文被某种加密算法加密之后,会变成密文,...

  • 怎么为cache.xml中的密码加密呢

    Apache Geode 提供了一个gfsh工具来生成加密密码. cache.xml文件接受明文密码或者加密密码....

  • golang 读写二进制文件

    需求 我们需要对一些文本进行"明文加密",何为"明文加密"?从一些错乱的数据中,提取我们想要的数据. 明文加密 生...

  • 加密算法总结

    一、简介 iOS加密相关算法框架:CommonCrypto明文: 明文指的是未被加密过的原始数据。密文:明文被某种...

  • BCrypt 密码加密和解密

    简介:bcrypt是一种跨平台的文件加密工具。 Bcrypt就是一款加密工具,可以比较方便地实现数据的加密工作。你...

  • (一)传统加密技术

    一、术语定义 明文:原始消息 密文:加密后的消息 加密:从明文到密文的过程称为加密 解密:从密文到明文的过程称为解...

  • 视频学习《你的API还在”裸奔“吗?》

    简单区分对称加密、非对称加密对称加密就是使用相同的明文加密出来的密文都是一样的。非对称加密就是使用相同的明文加密出...

网友评论

      本文标题:Asemica---一款神奇的加密明文工具

      本文链接:https://www.haomeiwen.com/subject/cagryqtx.html