Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Make Caesar Cipher More Secure

  • ProCode CG
  • 2021-05-18
  • 70
Make Caesar Cipher More Secure
encryptioncaesar ciphersimple encryptionthunkable xthunkablecreating apps
  • ok logo

Скачать Make Caesar Cipher More Secure бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Make Caesar Cipher More Secure или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Make Caesar Cipher More Secure бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Make Caesar Cipher More Secure

Make Caesar Cipher More Secure

steps:
watch previous videos

Simple Encryption App with Thunkable X
   • Simple Encryption App with Thunkable X  

Simple Encryption and Decryption App with Thunkable X
   • Simple Encryption and Decryption App with ...  

from the previous videos you will learn how to make a simple encryption and decryption with Caesar Cipher. now we will make the cipher more secure.

in the previous videos we can only encrypt alphabet (that later will be changed to uppercase. what if we want to encrypt both lowercase and uppercase alphabet? what if we want to encrypt numbers? can we encrypt a sentence with whitespace in between words? can we encrypt symbols?

because the code we have built is well constructed, we only need to modify ONE line to be able to make this cipher more secure and be able to encrypt and decrypt more symbols :)

let me show you ;)

we don’t change the design so we can skip this part
Design:
*notes: i assume that you can find your own ways about layout and component setting or i probably will make a tutorial about layout if needed ;)
1. add label and textfield for plaintext
2. add label and textfield for key (on the advanced tab, set the keyboard to numeric)
3. add label and textfield for ciphertext
4. add button for encrypt
5. add button for decrypt
6. i added a button for clearing the textfields to start doing encryption and decryption

Blocks:
*notes: click on the components on the left side to see what block you can use to perform action on the specific component

the pseudocode (the added lines of code is printed in different color):

and we only add this one line (the rest of the code is the same). the cipher will be more secure because now it has more possibilities of ciphertext because we have more characters and symbols in the character set:
alphanumeric = “abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 ~`!@#$%^&*()_+{}|[]\:";'?,./”
key = 0
ciphertext = “”

when btnEncrypted Click do{
txtCiphertext = caesarCipher(txtPlaintext, key)
}

when btnDecrypted Click do{
txtCiphertext = caesarCipher(txtCiphertext, (lengthof(alphanumeric) - (key mod lengthof(alphanumeric)))
}

when btnClear Click do{
txtPlaintext = “”
txtCiphertext = “”
texKey = “”
}


char_plaintext = “”
char_ciphertext = “”
index = 0
char = “”
check = 0

caesarCipher(plaintext, text){
ciphertext = “”
if (key bigger than lengthof(alphanumeric)){
key = check mod length(alphanumeric)
}
plaintext = UPPERCASE(plaintext)
for i=1 to lengthof(plaintext) by 1{
char_plaintext = plaintext[i]
for x=1 to lengthof(alphanumeric) by 1{
char = alphanumeric[x]
if char == char_plaintext do{
index = x
break
}
}

check = index + key
if (check bigger than lengthof(alphanumeric)){
check = check mod lengthof(alphanumeric)
}

char_ciphertext = alphanumeric[check]
ciphertext = ciphertext + char_ciphertext
txtCiphertext = ciphertext
}
return txtCiphertext
}


click live test and open Thunkable App on your smartphone, and see how it works :)

in the next tutorial, we will learn how to do encryption and decryption with different algorithm ;)

thanks for watching, click subscribe and like and don’t forget to share the video :)

hope the tutorial is helpful, please leave comments to let us know what you think ;)

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]