AZdecrypt 1.24

User projects written in or related to FreeBASIC.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

AZdecrypt 1.24

Post by Provoni »

AZdecrypt is a fast and fully multi-threaded - homophonic - substitution cipher solver and more.

The latest AZdecrypt (1.24) can be found here: https://drive.google.com/file/d/1LhXKTc ... drive_link

Image

Image
Last edited by Provoni on Mar 19, 2024 7:17, edited 17 times in total.
JBoyd333
Posts: 3
Joined: Feb 15, 2015 9:10

Re: Zdecrypt

Post by JBoyd333 »

When I download the zodiackillersite.com my virus program says it contains malicious code...?
Any one know the status of this?
qbgenie
Posts: 4
Joined: Feb 18, 2015 3:37

Re: Zdecrypt

Post by qbgenie »

It says that becuase the file acts as a code genortor like those used in worms viruses and malware
but i fail to see the reason as to why the source code would not be released mostly becuase its a .com which isn't really used any more
I would be careful in any case
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

I'm sorry qbgenie and JBoyd333. I haven't looked at this page since the beginning of the project. The program has come a long way since then and I decided to do an update (bump) of the main post about the current status of the program.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

Last update: 04/09/2018: http://www.zodiackillersite.com/viewtop ... =81&t=3198 (35000 lines of code)
Last edited by Provoni on Oct 10, 2019 13:53, edited 1 time in total.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

New version 1.12: http://www.zodiackillersite.com/viewtop ... =81&t=3198
AZdecrypt 1.12 wrote: - Optimized "nulls and skips" solver with the help of smokie treats.
- Updated Reddit n-grams. This however increased the download to about 560 megabytes.
- Much faster Solver performance mode, which can be toggled on or off from the Options menu.
- Fixed an issue with the "row bound" solver so that it now correctly displays the "N-grams" and "PC-cycles" statistics scores.
- AZdecrypt determines the number of CPU threads available to your system and automatically assigns 3/4 of it to the solvers. The number of CPU threads can still be changed through the Options, Solvers menu.
- Support for up to 65536 CPU threads.
- Slightly overhauled look and feel.
- Fixed lots of small issues.
Last edited by Provoni on Oct 10, 2019 13:53, edited 1 time in total.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

AZdecrypt 1.15 released: http://www.zodiackillersite.com/viewtop ... =81&t=3198
Jarlve wrote: AZdecrypt 1.15:

Again a huge update and I will illustrate some examples of the new functionality during the next days.

- beijinghouse made a special 8-gram system that is only 50% slower than 7-grams and uses only 8 GB of memory! It works very well and he can elaborate on how exactly he achieved this. You will still need about 12 GB of ram to use these.
- beijinghouse also came up with a speed optimization that aborts the n-gram score calculation when it is known that the new_score cannot be higher than the old_score. This works very well with sparse n-grams such as 7-grams or higher. For now it is only used with beijinghouse's 8-grams.

- Added extensive cipher and plain text library, it can be found in the "Ciphers/" folder.
- Internally the score calculation is now using entropy instead of the index of coincidence. This may change the scores you are used to seeing a little bit. A small adjustment to the n-gram ini files has been made to reflect this. Old ini files still work via internal conversion.
- You may notice a slowdown of the solving speed (about 20%) due to a big improvement to most of the solvers such that for example 500,000 iterations are now worth about 1,000,000 iterations with a greater effect on ciphers that tend to get stuck.
- New function "Bias n-grams", bejinghouse asked for this, it can be found under "File, Load n-gram bias" and it tunes the n-grams in memory to some text of your choice. For example: to offer support for rare occurring n-grams such as names.
- "Batch ciphers (substitution)" now supports plain text accuracy testing, a example can be found in the "Ciphers/Batch/" folder.
- New solver "Substitution + units", it allows to solve a variety of cipher schemes such as masootz's cipher or operations on symbols, rows or columns such as remove, expand, separate into 2nd key, replace and reverse.
- New option "(Substitution + sequential homophones) Sequential weight: 5", setting it lower will decrease the weight of the sequential homophones and setting it higher will increase it.
- New function "Normalize n-gram factor", the button can be found under "Options, Solvers" and it will normalize the n-gram factor to some internal plain text. This ensures that AZdecrypt performs optimally with your n-grams.
- Fixed major 1.14 issues with the following solvers: columnar transpostion & rearrangement, nulls and skips, and poly [auto, user].
- Removed many code redundancies in the source (merged solvers etc) and it is about 33% smaller.
- New function "Batch settings" to optimize temperature etc, suggested by beijinghouse.
- Solvers are using much less memory outside of the regular n-gram memory use.
- Vigenère solver works much better now.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt

Post by Provoni »

AZdecrypt 1.16 released: http://www.zodiackillersite.com/viewtop ... =81&t=3198

Download: https://drive.google.com/open?id=1vB1G8 ... zthSv8seky
Jarlve wrote: AZdecrypt 1.16:

What's new?

- Version 4 of beijinghouse's 6-grams and 7-grams included which use a special low memory no-compromise n-gram system. For example, beijinghouse's 7-grams only take up 2 GB of ram and can thus be used on 4 or 8 GB system. His new version 4 n-grams are also much more dense and boast ridiculously good convergence rates. Version 4 of beijinghouse's 8-grams are available as a separate 4 GB download and require a 24 GB RAM system. Thank you beijinghouse for all your work on this!

- Added timer to solver output so that the user knows how much time to program took to arrive at a certain solution.
- Added the option the add the PC-cycles stat the solver output "(General) Add PC-cycles to file output format".
- Fixed IOC inflation bug with Row bound solver that happened with certain ciphers.
- Fixed bug with Vigenère solver when using entropy weight other than 1.
- Fixed possible crash with Batch settings.
- Minor bug fixes and improvements all over the place.
- Compiled with the new FreeBASIC 1.07.1 release.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.19

Post by Provoni »

AZdecrypt 1.19 released:

Download: https://drive.google.com/file/d/1_lP82N ... sp=sharing
Jarlve wrote: What's new?

- Spacing between words for English text is now added to the solutions but can be disabled through Options, Solvers, Add spaces to output: No. You can also add spaces to text via the Input window and then Format, Add spaces to plaintext.
- Solvers Substitution + polyphones [auto] and [user] have been merged into Substitution + polyphones. Using the solver will open up a new menu that includes all the old functionality and more plus a new Hafer shifts solver mode!
- In previous versions results were not output until the thread was completely finished and that resulted in a possible wait time on very long runs. That's no longer the case.
- The solvers that use a additional hill-climber on top now update the Output window every second and the best result is now persistent between restarts.
- Re-enabled the 7-gram functionality. beijinghouse v6 7-grams download: https://drive.google.com/file/d/1lvh3Ih ... sp=sharing (418 MB)
- Very noteworthy across-the-board improved solver efficiency.
- Size reduced beijinghouse v6 5 and 6-grams included.
Image
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.2

Post by Provoni »

AZdecrypt 1.2 released: https://drive.google.com/file/d/1gfdgnb ... sp=sharing (300 MB download)

Source included with download.

Added a whole bunch of transpositions solvers that operate on non-subsitution ciphers:

Non-substitution (scores your plain text + detailed n-gram stats)
Columnar transposition (keyed)
Columnar rearrangement (keyed)
Grid rearrangement (keyed)
Periodic transposition (can solve a whole variety of transposition ciphers keyed or unkeyed as long as the transposition can be summarized by a limited set of periodic rules)
Simple transposition (the same solver as the Substitution + simple transposition but does not perform substitution)

Also File, Batch ciphers (non-subsitution) has been added.

Additional n-gram downloads:

7-gram beijinghouse v6: https://drive.google.com/file/d/1lvh3Ih ... sp=sharing (420 MB download)
8-gram beijinghouse v6: https://drive.google.com/file/d/1v9xvmK ... sp=sharing (5 GB download)
Last edited by Provoni on Mar 29, 2022 5:56, edited 1 time in total.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.2

Post by Provoni »

Example use, small demo, of the columnar rearrangement solver:

The following plain text with 40 columns:

Code: Select all

HORSESARETAUGHTTHEDANGEROUSVICEOFBAULKIN
GORJIBBINGASITISCALLEDINENGLANDBYIMPROPE
RMANAGEMENTWHENAHORSEJIBSINHARNESSITISGE
NERALLYFROMSOMEMISMANAGEMENTEXCITEMENTCO
NFUSIONORFROMNOTKNOWINGHOWTOPULLBUTSELDO
MFROMANYUNWILLINGNESSTOPERFORMALLTHATHEU
NDERSTANDSHIGHSPIRITEDFREEGOINGHORSESARE
THEMOSTSUBJECTTOBAULKINGANDONLYSOBECAUSE
Column order shuffled:

Code: Select all

VAEGKCSEOANANGLISTEESUUHHUTIBDERTOOHRFRA
LLAIONJNOBEAEDRABSDIGNPGTSGPILINIEBCRYIM
HSOHSRNEMEETEJIAGANANITREWNGSRIBNSEHASMI
TASOTXAREYOMNANELMCLNEENMSOCEMGEEMIIRTFM
OWNMLUSRFNORINEPOTLITWSNNOFDUOGHOOLKUBOT
OSNLHMOUFNUWSTTRANAMFRAMLINETEOPIELGRLYH
OTRGANRDDAEHEDSITPGSGEENHISRRIFRSEHIEONS
OLACULMUHTEJKIANSOYODNCTTEBSBUNGTASBEOSE
Search space is therefore 40!, a number with 48 decimal digits.

Open the program, put the shuffled text in the Input window. In the small window where it shows "Substitution" etc (solvers) scroll down to and select "Columnar rearrangement". Click on Solve and a new window will open, in the new window set Key 1 from 40 to 40 and click Solve again in the main window. On my machine the following solve was found in a matter of seconds:

Code: Select all

Current key length: 40 Hill climber: 1849/5849/5
Score: 24209.66 IOC: 0.0604 Multiplicity: 0.075 Seconds: 3.81
Repeats: MANAGEMENT HORSESARET BAULKING EMENT SITIS INGHO

Key length: 40
Key: 24,9,37,7,20,17,10,39,8,27,12,26,4,25,33,18,36,3,30,2,13,14,31,32,34,22,21,1,16,6,19,35,38,29,40,23,15,5,28,11

HORSES ARE TAUGHT THE DANGEROUS VICE OF BAULKING 
OR JIBBING AS IT IS CALLED IN ENGLAND BY 
IMPROPER MANAGEMENT WHEN A HORSE JIBS IN 
HARNESS IT IS GENERALLY FROM SOME MISMANAGEMENT 
EXCITEMENT CONFUSION OR FROM NOT KNOWING 
HOW TO PULL BUT SELDOM FROM ANY UNWILLINGNESS 
TO PERFORMALL THAT HE UNDERSTANDS HIGH SPIRITED 
FREE GOING HORSES ARE THE MOST SUBJECT TO 
BAULKING AND ONLY SO BECAUSE
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.2

Post by Provoni »

Last edited by Provoni on Apr 23, 2022 9:06, edited 3 times in total.
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.2

Post by Provoni »

AZdecrypt 1.22 released: https://drive.google.com/file/d/12ngl8- ... share_link

New features:

- Ciphers up to 4000 characters long, up from 2000

- Non-substitution Nulls and skips solver

- Automatic word spacing and dedicated n-grams for the following latin alphabet languages: Danish, Dutch, English, Finnish, French, German, Italian, Portuguese, Spanish and Swedish

- Chi-squared test for the languages above as well, (under Statistics)

- N-gram tools to convert/output existing n-grams to text or binary format. Plus downscaling of existing n-grams, from letter 5-grams to letter 4-grams etc (under File, N-gram tools)

- "Substitution + crib grid" can now be used in junction with "Substitution + simple transposistion". Have the pop-up windows of both solvers open and enable the "Use Substitution + crib grid" option in the Simple transposition solver window to have it work.

- Homophone weight setting (under Settings, Solver settings) that works for all solvers that output the number of homophones in the Output window, and the latter being a new addition as well.

- Added some error checking for loading n-grams, possible problems will show up as *** WARNINGS ***

- Lots of bugfixes, small additions and improvements
Provoni
Posts: 513
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: AZdecrypt 1.22

Post by Provoni »

Updated to 1.22
Post Reply