This simple script translates texts into morse code and vise versa.
It has two options:- 1). Encrypt a text into a morse code. 2). Decrypt a morse code into a text.
Just run it and follow the instructions. Here is a simple example.
-----------------------------
Morse Code Translator
1. Encrypt
2. Decrypt
Enter 'q' to quit.
-----------------------------
Enter your choice: 1
Enter message to encrypt: Metafy social
> -- . - .- ..-. -.-- ... --- -.-. .. .- .-..