mjethani / typo Goto Github PK
View Code? Open in Web Editor NEWHide secret information in typographical errors
License: ISC License
Hide secret information in typographical errors
License: ISC License
Dear Manish,
Could you be so kind to generate .exe
for the rest of us who use Windows w/o Node?
Iโm told that either Nexe or EnclosureJS might help you to achieve that.
I used a lot of text, but it fails to encode a simple message.
TR: ~/Documents/test/typo tommaso$ typo "ATTACK AT DAWN" input.txt --verbose > output.txt
[0.14] Hi!
[0.15] Reading input from file input.txt
[0.15] Loading dictionary
[0.16] Loading keyboard QWERTY
[0.16] Loading ruleset misspelling
[0.20] Loading ruleset grammatical
[0.20] Shuffling rules
[0.21] Secret: ATTACK AT DAWN
[0.21] Encoding
[0.21] Encrypting ...
[2.69] Encrypted secret: BC 11 CB 46 8F 08 2F 5E 23 EB 35 EA 1E BD 1D A7
[2.69] Buffer size: 16
[2.69] Density: 87.4317 per thousand
[2.69] Trying with multiplier 1.0000
[2.77] Score: 1 / 32
[2.77] Trying with multiplier 1.1000
[2.81] Score: 1 / 32
[2.81] Trying with multiplier 1.2100
[2.85] Score: 1 / 32
[2.85] Trying with multiplier 1.3310
[2.90] Score: 1 / 32
[2.90] Trying with multiplier 1.4641
[3.02] Score: 1 / 32
[3.02] Trying with multiplier 1.6105
[3.07] Score: 1 / 32
[3.07] Trying with multiplier 1.7716
[3.11] Score: 1 / 32
[3.11] Trying with multiplier 1.9487
[3.15] Score: 1 / 32
[3.15] Trying with multiplier 2.1436
[3.19] Score: 1 / 32
[3.19] Trying with multiplier 2.3579
[3.23] Score: 1 / 32
[3.23] Trying with multiplier 2.5937
[3.27] Score: 1 / 32
[3.27] Trying with multiplier 2.8531
[3.33] Score: 1 / 32
[3.33] Trying with multiplier 3.1384
[3.39] Score: 1 / 32
[3.39] Trying with multiplier 3.4523
[3.47] Score: 1 / 32
[3.47] Trying with multiplier 3.7975
[3.54] Score: 1 / 32
[3.54] Trying with multiplier 4.1772
[3.58] Score: 1 / 32
[3.58] Trying with multiplier 4.5950
[3.62] Score: 1 / 32
[3.62] Trying with multiplier 5.0545
[3.67] Score: 1 / 32
[3.67] Trying with multiplier 5.5599
[3.71] Score: 1 / 32
[3.71] Trying with multiplier 6.1159
[3.74] Score: 1 / 32
[3.74] Trying with multiplier 6.7275
[3.78] Score: 1 / 32
[3.78] Trying with multiplier 7.4002
[3.82] Score: 1 / 32
[3.82] Trying with multiplier 8.1403
[3.86] Score: 1 / 32
[3.86] Trying with multiplier 8.9543
[3.90] Score: 1 / 32
[3.90] Trying with multiplier 9.8497
[3.93] Score: 1 / 32
Error: Not enough text.
[3.93] Sorry, we failed
TR: ~/Documents/test/typo tommaso$ typo --version
typo v0.4.12
TR: ~/Documents/test/typo tommaso$
The example input text I wrote was:
TR: ~/Documents/test/typo tommaso$ cat input.txt
Hello!
How are you doing?
I'm fine, actually just a bit. Yesterday a maniac tried to steal my laptop and wtf man.
LOLOL
Ever thought you could be a total idiot? Sure, you cold be, LOL.
So fuck you, however this may not work.
Spam spam, spam messages everywhere.
Fuck you bitch, I won't do what you say.
I believe Linkin Park is the best rock group ever, LOL.
TR: ~/Documents/test/typo tommaso$
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.