summaryrefslogtreecommitdiff
path: root/base64/base64_1.hs
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2019-03-09 18:12:22 +0100
committerMiguel <m.i@gmx.at>2019-03-09 18:12:22 +0100
commit116a5a97f600df811f0f14dd2134a72aece88fbf (patch)
treec9409213d3a49891470994d24f96066ef12cfd05 /base64/base64_1.hs
parent7bdaddbb527f6a0e8c8566a98ce04b1114a85db3 (diff)
optimized base64.hs quite a lot
Diffstat (limited to 'base64/base64_1.hs')
-rw-r--r--base64/base64_1.hs18
1 files changed, 0 insertions, 18 deletions
diff --git a/base64/base64_1.hs b/base64/base64_1.hs
index 28655c1..6ab7344 100644
--- a/base64/base64_1.hs
+++ b/base64/base64_1.hs
@@ -1,21 +1,3 @@
---
--- Miguel's Naive Base64 Encoder
---
--- Coded on a winter afterfnoon on 19th Feb 2018 A.D.
--- to fully understand base64 encoding and play with
--- haskell, which is always an indisputable pleasure.
---
--- The following lines were written in full awareness
--- that 'libraries' for this purpose, which perform way
--- better, are in existence.
---
--- Coded in big anger due to nick's stories about saving his binary
--- format, encrypted passwords in an ascii config file, featuring
--- strange letters and characters.
---
--- Example Usage: echo "just testing" | stack runghc base64.hs | stack runghc base64 -- -d
--- (You can cross check with base64 / base64 -d)
-
import System.Environment
import qualified Data.List.Split as T
import qualified Data.List as L