Add the action of decryption for the gamma cipher.
This commit is contained in:
@@ -49,7 +49,9 @@
|
|||||||
(cond
|
(cond
|
||||||
(= action-type :encrypt)
|
(= action-type :encrypt)
|
||||||
(gamma/encrypt-message key symbols message)
|
(gamma/encrypt-message key symbols message)
|
||||||
)))
|
|
||||||
|
(= action-type :decrypt)
|
||||||
|
(gamma/decrypt-message key symbols message))))
|
||||||
|
|
||||||
(defn cryptography-actions
|
(defn cryptography-actions
|
||||||
[options arguments action-type]
|
[options arguments action-type]
|
||||||
|
|||||||
Reference in New Issue
Block a user