RUVIDEO
Поделитесь видео 🙏

ENCRYPT AND DECRYPT YOUR PLAIN TEXT USING PYTHON!! смотреть онлайн

The Morse Code translator tool allows you to convert plain text to morse code back to plain English. To carry out text to morse code, simply type your message and you will see that it is automatically getting converted with a range of symbols “.” dot and “-” and/or “_”. The spacings will occur with a slash “/” or a pipe “|”.

Someone who is able to understand Morse Code without any interpretive equipment will be able to understand the message in a particular emergency situation. This is a very useful mechanism for sending across messages when the signal condition doesn’t work or voice is not a useful means of messaging.

Likewise, you can convert a set of morse code back into English. To do this simply enter the morse code and you will see it get translated into English text . With all the text you can copy and paste to wherever you’d like including Facebook, Twitter, Word and Excel.

Let us know if you have any questions about the Morse Code to text.
——————————————————————————
Algorithm
The algorithm is very simple. Every character in the English language is substituted by a series of ‘dots’ and ‘dashes’ or sometimes just singular ‘dot’ or ‘dash’ and vice versa.
Please refer this wikipedia image for details.
——————————————————————————
Encryption
1. In case of encryption we extract each character (if not a space) from a word one at a time and match it with its corresponding morse code stored in whichever data structure we have chosen(if you are coding in python, dictionaries can turn out to be very useful in this case)
2. Store the morse code in a variable which will contain our encoded string and then we add a space to our string which will contain the result.
3. While encoding in morse code we need to add 1 space between every character and 2 consecutive spaces between every word.
4. If the character is a space then add another space to the variable containing the result. We repeat this process till we traverse the whole string
——————————————————————————
Decryption
1. In case of decryption, we start by adding a space at the end of the string to be decoded (this will be explained later).
Now we keep extracting characters from the string till we are not getting any space.
2. As soon as we get a space we look up the corresponding English language character to the extracted sequence of characters (or our morse code) and add it to a variable which will store the result.
3. Remember keeping track of the space is the most important part of this decryption process. As soon as we get 2 consecutive spaces we will add another space to our variable containing the decoded string.
4. The last space at the end of the string will help us identify the last sequence of morse code characters (since a space acts as a check for extracting characters and start decoding them)
——————————————————————————
#python #coding
——————————————————————————
Source Code
https://drive.google.com/file/d/1hFT3njkoIZZt923f7FolQsb4ixzgSgAM/view?usp=sharing
——————————————————————————
Song
Clean Bandit - Rockabye

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «ENCRYPT AND DECRYPT YOUR PLAIN TEXT USING PYTHON!!» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.