Commit Graph

36 Commits

Author SHA1 Message Date
Jake W. Ireland
2ae0efd513 Type-error bug fix for monoalphabetic (fixes #28) 2021-03-09 13:18:01 +13:00
Jake W. Ireland
c715c190bf Removed un-needed comment 2021-01-13 02:05:35 +13:00
Jake W. Ireland
938d326ce6 Merged substitution.jl with monoalphabetic.jl, updating documentation accordingly 2021-01-13 02:05:01 +13:00
Jake W. Ireland
6b9a54fdd9 Refined docstrings and added documentation 2021-01-13 00:39:37 +13:00
Jake W. Ireland
55183d284c Added substitution cipher 2021-01-11 19:31:53 +13:00
Jake W. Ireland
29ebc22cd2 Updated Caesar method to fall back to traditionally used shift, and changed one test case for a more accurate test statement... 2021-01-11 17:30:40 +13:00
Jake W. Ireland
9cb4f1306c Added Rail Fence Cipher implementation (addresses #23)
This is only my attempt at an implementation.  @r0cketr1kky can still have another attempt, or refine my solution, but it is here now for people to use.

TODO: add better docstrings.
2021-01-08 04:48:00 +13:00
Jake W. Ireland
09f71792f3 Refined code style to be more in line with Blue Code Style guide 2021-01-08 02:48:44 +13:00
Jake W. Ireland
b3acd440f1 Performance considerations and addition of union of types
- Performance considerations, including better typing where possible; and
  - Addition of un-exported `AbstractPair` type for more general use of `playfair` functions
2021-01-08 02:03:06 +13:00
Patrick Stevens
2a0eb5c630 Move to Project.toml, bump to Julia v1 (#18) 2019-09-12 19:18:28 +01:00
Smaug123
b03a7a2996 Remove commented include from solitaire 2017-04-28 18:40:43 +01:00
cormullion
ed2e4ef899 add Compat to see if it keeps Travis happier 2017-04-28 15:40:59 +01:00
cormullion
a3da67ce7e updates for 0.6 2017-04-28 11:18:49 +01:00
cormullion
8c3a152225 some fixes for v0.5 2017-04-28 11:06:03 +01:00
Smaug123
d3b54be6ed Make crack_cipher outputs consistent for different ciphers 2016-01-16 21:45:40 +00:00
Smaug123
aebd353646 More Lint-related changes 2016-01-13 18:56:20 +00:00
Smaug123
1a38711e3a Speed up Enigma 2016-01-12 21:16:09 +00:00
Smaug123
bdace4e135 Minor changes so that Lint passes 2016-01-12 19:09:56 +00:00
Smaug123
448f307184 Implement Enigma encryption/decryption. 2016-01-12 17:36:55 +00:00
Smaug123
50d684b744 Add more tests, and bugfix
crack_caesar was checking keys 1:26 not 0:25
crack_vigenere was outputting key incorrectly
2016-01-09 08:43:42 +00:00
Smaug123
8fb21fd039 Add Playfair encryption/decryption 2016-01-08 20:09:12 +00:00
Smaug123
4208df943b Add Hill cipher encryption/decryption 2016-01-07 12:27:34 +00:00
Smaug123
6a6aa3d078 Add Affine functionality - encrypt, decrypt, crack 2016-01-06 19:56:06 +00:00
Smaug123
f977720155 Add Portas cipher encryption/decryption 2016-01-06 16:05:36 +00:00
Smaug123
07c3070c7e Add Vigenere cracking capability 2016-01-05 14:17:14 +00:00
Smaug123
8c64db1a07 Merge monoalphabetic cracking 2016-01-04 21:03:26 +00:00
Smaug123
eb22eeca49 Trivial bugfix 2016-01-04 20:57:10 +00:00
Smaug123
252a3debfb Add simulated anneal for monoalphabetic cracking;
add alreadystripped argument to string_fitness;
add frequencies function
2016-01-04 20:50:50 +00:00
Smaug123
d0bda1d6e7 Add crack_caesar functionality 2016-01-04 13:14:31 +00:00
Smaug123
46ba92fcc7 Add string_fitness to common.jl 2016-01-04 12:38:56 +00:00
Smaug123
9b0692d846 Fix typo in caesar.jl docstring 2016-01-04 11:45:47 +00:00
Smaug123
37e40640a0 Enforce lower/uppercase consistency; expand readme 2016-01-04 09:31:35 +00:00
Smaug123
80e9d6e8c8 Add docstrings for Caesar, Monoalph, Solitaire 2016-01-03 22:25:02 +00:00
Smaug123
949816f7e0 Add source files this time 2016-01-03 21:43:29 +00:00
Smaug123
27675bee94 First commit, with caesar, solitaire, vigenere, monoalphabetic encrypt/decrypt 2016-01-03 20:58:35 +00:00
Smaug123
e8bcf6216c ClassicalCiphers.jl generated files.
license:  BSD
    authors:  Smaug123
    years:    2016
    user:     Smaug123

Julia Version 0.4.1 [cbe1bee*]
2016-01-03 20:04:35 +00:00