Compare commits

..
3 Commits
Author SHA1 Message Date
KKlochko 7f6f7c9f72 Add a simple cli interface. 2023-09-10 20:53:30 +03:00
KKlochko a8368d09e6 Add a implementation of Caesar cipher. 2023-09-09 21:26:38 +03:00
KKlochko ade86e319f Add symbol fixtures. 2023-09-09 21:08:35 +03:00
@@ -0,0 +1,20 @@
(ns cipher-analytical-machine.symbol_fixtures
(:require [clojure.string :as cs])
(:gen-class))
(defn get-lower-ukrainian-alphabet
"Return the ukrainian alphabet for the symbols string"
[]
"абвгґдеєжзиіїйклмнопрстуфхцчшщьюя")
(defn get-ukrainian-alphabet
"Return the ukrainian alphabet for the symbols string"
[]
(let [letters (get-lower-ukrainian-alphabet)]
(str letters (cs/upper-case letters))))
(defn get-digits
"Return digits for the symbols string"
[]
"0123456789")