Forráskód Böngészése

Implement `stringToMessage`

DricomDragon 5 éve
szülő
commit
e886445662
1 módosított fájl, 8 hozzáadás és 0 törlés
  1. 8 0
      tp/rsa/main.hs

+ 8 - 0
tp/rsa/main.hs

@@ -0,0 +1,8 @@
+-- RSA LAB
+
+import Data.Char
+
+type Message = [Int]
+
+stringToMessage::String -> Message
+stringToMessage = map ord