Keep the NSA busy...
To encode, drag any file over TinyCrypter.exe, edit the suggested password*), hit Enter
To decode, drag the *.tic over TinyCrypter.exe, edit the suggested password, hit Enter
*) Escape clears the suggestion, see Input$() (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm#Mb1041)
*** Tiny Crypter (c) jj2007 @ Masm32 2015 - work in progress, USE AT YOUR OWN RISK ***
Encoding C:\Masm32\SomeFatArchiveOfPhotos.zip:
Choose an 8-letter password: FriDec15
Encoding took 24691 microseconds, decoding without password will take up to 1185 days
7963578 bytes converted as ~SomeFatArchiveOfPhotos.tic. Test the decrypter (y)?
*** Tiny Crypter (c) jj2007 @ Masm32 2015 - work in progress, USE AT YOUR OWN RISK ***
Decrypting ~SomeFatArchiveOfPhotos.tic:
Type the 8-letter password: FriDec15
Decoding took 22 ms - 7963578 bytes decoded as ~SomeFatArchiveOfPhotos.zip. Have a look (p=NotePad, s=Shell)?
ENT analysis (http://www.fourmilab.ch/random/) for the .tic file:
Entropy = 7.999978 bits per byte.
Optimum compression would reduce the size
of this 7963616 byte file by 0 percent.
Chi square distribution for 7963616 samples is 239.02, and randomly
would exceed this value 75.60 percent of the times.
Arithmetic mean value of data bytes is 127.5386 (127.5 = random).
Monte Carlo value for Pi is 3.138055662 (error 0.11 percent).
Serial correlation coefficient is 0.000200 (totally uncorrelated = 0.0).
Which means, in short, it's
really random. The password is not stored with the file, and brute-forcing will take a while, see message above, but note that shorter files take considerably less (always assuming the 'other side' understands the algo - TinyCrypter itself has a nasty delay if you miss the password :P). If you want to send a short message safely, embed it in a fat zip archive. For example, get a copy of XP Mode, add the tiny source of Tiny Crypter, and voilĂ , it looks a bit safer:
QuoteEncoding took 7015303 microseconds, decoding without password will take up to 336734 days
492599034 bytes converted as ~WindowsXPMode_en-us.tic. Test the decrypter (y)?