Encoding and Decoding with Clojure
A common approach to encoding and decoding text is to use a dictionary lookup, defined in Clojure as a hash-map. Each key-value pair provides a mapping for encoding and decoding. Looking up a a character as a key in the map provides a value that is the encrypted character.
|Boolean names to 0 or 1||hash-map get||Convert boolean values to classic 1 or 0 values|
|Caesar cipher - ROT13||seq cycle zipmap||A simple alphabet rotation cipher|
|RNA / DNA converter||Convert between DNA and RNA|
|Clacks telegram||Encoding and decoding messages with Clacks|