Commit Graph

66 Commits

Author SHA1 Message Date
Stefan Etringer e0d97a4084 added letter to number encoding, WIP. Non Ascii character throw an error right, now. Maybe gonna change it so bytestring is output unchanged 2024-06-23 19:30:10 +02:00
Stefan Etringer 8664170b0d fixed some bugs with solve function 2024-06-11 15:40:59 +02:00
Stefan Etringer 61313cd558 moved solve function from Main.hs to src/Encoding/Solve.hs 2024-06-11 15:21:23 +02:00
Stefan Etringer 63a0fd3c05 added test for rotate function and yencode/decode 2024-06-11 14:48:57 +02:00
Stefan Etringer 5e4a146b4f updated Changelog and README, release of v.0.4.4 2024-06-10 22:09:18 +02:00
Stefan Etringer c3bedaee2f fixed a bug in url encoding, complete test coverage for all encodings now 2024-06-10 20:54:23 +02:00
Stefan Etringer 28b583d6b8 reintroduced solve function 2024-06-09 22:48:37 +02:00
Stefan Etringer a5f9862df1 added correct description to arguments of encode and decode functions 2024-06-09 22:27:28 +02:00
Stefan Etringer 736627ff3d added tests for base10 2024-06-09 22:14:50 +02:00
Stefan Etringer 37985bd205 refractored Uu encoding, so it is more correct, added tests for Uu encode 2024-06-09 20:56:00 +02:00
Stefan Etringer 6ab4cbaa79 moved all encodings to bytestring in- and output 2024-06-09 15:32:39 +02:00
Stefan Etringer 82aed9340c moved all encodings to bytestring, updated tests accordingly 2024-06-09 13:12:23 +02:00
Stefan Etringer 1889691259 rewrote test so bytestrings are tested 2024-06-08 23:55:11 +02:00
Stefan Etringer b6ad312970 Changed base45 to Bytestring in and output 2024-06-08 22:04:28 +02:00
Stefan Etringer a472d309a6 changed octal encoding to bytestring instead of string 2024-06-08 21:38:01 +02:00
Stefan Etringer b91f110f42 changed rotate to match ByteStrings instead of Strings 2024-06-08 20:26:16 +02:00
Stefan Etringer fbb10d0edf Regression atm, Moved from Unicode/Utf8 to ByteString so binary data is encoded correctly. WIP 2024-06-07 18:09:20 +02:00
Stefan Etringer faf12b64f1 moved Uu encoding to Text instead of string 2024-06-06 18:18:48 +02:00
Stefan Etringer 550f40ce4a added test for quoted printable encoding and decoding 2024-06-06 13:13:14 +02:00
Stefan Etringer 15abc2c95b added tests for base91 and base85 2024-06-04 21:59:23 +02:00
Stefan Etringer 580792ddf6 added base45 tests 2024-06-04 17:09:18 +02:00
Stefan Etringer 87089a314b added base45 encoding/decoding 2024-05-23 22:32:15 +02:00
Stefan Etringer 5d1bd6abc2 added tests section 2024-05-22 22:36:17 +02:00
Stefan Etringer d622618a41 updated README 2024-05-22 22:33:27 +02:00
Stefan Etringer 146293eeb4 added rotate functions for n rotations of the alphabet 2024-05-22 21:58:40 +02:00
Stefan Etringer 778f2c6e7a reworked functions to display Unicode correctly 2024-05-20 23:28:14 +02:00
Stefan Etringer bdbb3bed3e added test for more functions, solved bugs in accordance to that functions, mainly Unicode support 2024-05-20 22:39:43 +02:00
Stefan Etringer b27ca89424 added tests for b32 and b16 2024-05-20 14:06:00 +02:00
Stefan Etringer d44cef3060 added tests for b64 2024-05-19 15:22:13 +02:00
Stefan Etringer 252c5e5c68 reworked dec10 and enc10 2024-05-19 13:51:12 +02:00
Stefan Etringer 5aa3917ad2 moved all encodings to their own files under src/Encoding/ and commented the unused imports, will delete them in an upcoming commit 2024-05-19 13:23:39 +02:00
Stefan Etringer 792cc4265b structured src/ for Encoding lib and app/ for the Main file and cmdline stuff. Moved some Bases to src/Encoding/ separated by Base per file. Changed the cabal file to match the new structure. 2024-05-19 00:39:34 +02:00
Stefan Etringer 0b5f07477e reworked b2 and b8 functions 2024-05-16 21:52:38 +02:00
Stefan Etringer dec7ccc3c5 reworked encode octal, decode octal has an issues with missing leading zeros in an octal value 2024-05-15 22:18:25 +02:00
Stefan Etringer a5c73c27f6 reworked encoding for binary and octal in way that ASCII is encoded to binary or octal Integral 2024-05-14 00:18:48 +02:00
Stefan Etringer fd6b5dfd16 added errorhandling for base62 encoding 2024-05-12 23:16:21 +02:00
Stefan Etringer 6972d08ff7 added error handling to base91, still reworking b62 2024-05-09 00:21:53 +02:00
Stefan Etringer 87ccc20b85 added softlink to gitignore 2024-05-05 23:46:51 +02:00
Stefan Etringer 24cbf07357 added more bases to the solver function 2024-05-05 23:45:05 +02:00
Stefan Etringer e9d73d4062 added regex lib 2024-05-05 21:54:19 +02:00
Stefan Etringer edd0c7ffd5 added more bases to the solver functions 2024-05-05 00:04:19 +02:00
Stefan Etringer 37ee336508 added b91 to solver function 2024-05-03 23:36:35 +02:00
Stefan Etringer f21e343ef3 added solveEnc function, so that you do not have to know which encoding has been used to decode it 2024-05-02 23:12:40 +02:00
Stefan Etringer 6800552f65 more error handling for decoding functions 2024-05-01 23:25:57 +02:00
Stefan Etringer 6b950f6738 error handling for decoding functions 2024-05-01 14:28:50 +02:00
Stefan Etringer d3289e0997 added usable dec85 2024-04-29 23:06:06 +02:00
Stefan Etringer 68eb560810 types for enc/dec b91 2024-04-28 23:47:31 +02:00
Stefan Etringer 27e600673b changed functions from last commit, because these were pretty much bullshit. decode base64 has erro handlin now 2024-04-20 01:20:53 +02:00
Stefan Etringer 50de1c5558 reworking functions and errorhandling 2024-04-18 00:18:39 +02:00
Stefan Etringer b542165601 fixed 2023-07-25 23:21:27 +02:00