There was an error while loading. Please reload this page.
1 parent fd15d4c commit b120395Copy full SHA for b120395
HackerRank/Enumerable/rot13.rb
@@ -0,0 +1,7 @@
1
+def rot13(secret_messages)
2
+ secret_messages.map { |msg| msg.tr("a-z", "n-za-m")}
3
+end
4
+
5
+# https://en.wikipedia.org/wiki/ROT13
6
7
+# ROT13 cipher system
0 commit comments