Fix the key parsing in the gamma actions.

This commit is contained in:
2023-10-31 16:49:30 +02:00
parent 5843695a40
commit 79b72fccca
@@ -44,7 +44,8 @@
[options arguments action-type]
(let [message (:message options)
key (->> (cs/split (:key options) #",")
(map #(Integer/parseInt %)))
(map #(Integer/parseInt %))
(into []))
symbols (:symbols options)]
(cond
(= action-type :encrypt)