Browse Source

Implement `stringToMessage`

DricomDragon 5 năm trước cách đây
mục cha
commit
e886445662
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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