ShareShortcuts

Caesar Cipher

This shortcut will allow you to encrypt and decrypt text using a Caesar Cipher method

wfunderberg
Создать форк «Caesar Cipher»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы wfunderberg получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
69K
Сохранено
0
Действия
75
Категория
Utilities
Версия
1.0
Язык
EN

This shortcut will allow you to encrypt and decrypt text using a Caesar Cipher method. When encrypting, the shortcut will append a 🤫 emoji in front of the text which will be used when decrypting the text.

The Caesar cipher is one of the earliest known and simplest ciphers. It is a type of substitution cipher in which each letter in the plaintext is 'shifted' a certain number of places down the alphabet. For example, with a shift of 1, A would be replaced by B, B would become C, and so on. The method is named after Julius Caesar, who apparently used it to communicate with his generals.

This shortcut should be used for entertainment and learning only.

Что нового

Версия 1.0

First release

История версий
1.0 27 апр 2019 г.

First release

Что делает

Действий: 75
  1. Comment
    The Caesar cipher is one of the earliest known and simplest ciphers. It is a type of substitution cipher in which each letter in the plaintext is 'shifted' a certain number of places down the alphabet. For example, with a shift of 1, A would be repl…
  2. Comment
    Create a dictionary object and fill it with the characters that will be deciphered. The Key value will be used to determine what that character should be deciphered into.
  3. Dictionary
  4. Set Variable
    CeasarCipher
  5. Comment
    Get the text that will be used to decipher. Decryption will take place if it has the 🤫 emoji in front of the text and encryption will take place if it doesn't.
  6. Ask for Input
    Text to encrypt / decrypt
  7. Set Variable
    UserInput
  8. Count
  9. If
  10. Get Variable
  11. Split Text
  12. Set Variable
    UserInputArray
  13. Get Item from List
  14. If
  15. Comment
    This section decrypts the text
  16. Get Variable
  17. Get Dictionary Value
  18. List
  19. Set Variable
    KeysList
  20. Get Variable
  21. Get Dictionary Value
  22. List
  23. Set Variable
    ValuesList
  24. Get Variable
  25. Repeat with Each
  26. Set Variable
    CurrentUserInputArrayValue
  27. Get Variable
  28. Set Variable
    DecodedCharacter
  29. Number
  30. Set Variable
    FoundIt
  31. Number
  32. Set Variable
    Counter
  33. Get Variable
  34. Repeat with Each
  35. Set Variable
    CurrentValuesListValue
  36. Get Variable
  37. If
  38. Get Variable
  39. Calculate
  40. Set Variable
    Counter
  41. Get Variable
  42. If
  43. Number
  44. Set Variable
    FoundIt
  45. Get Variable
  46. Get Item from List
  47. Set Variable
    DecodedCharacter
  48. Get Variable
  49. Add to Variable
  50. Text
  51. Replace Text
  52. Set Variable
    ProcessedText
  53. If
  54. Comment
    This section encrypts the text
  55. Text
  56. Set Variable
    ProcessedText
  57. Get Variable
  58. Repeat with Each
  59. Get Variable
  60. Get Dictionary Value
  61. Set Variable
    CurrentValue
  62. Count
  63. If
  64. Text
  65. Add to Variable
  66. If
  67. Text
  68. Add to Variable
  69. Text
  70. Replace Text
  71. Set Variable
    ProcessedText
  72. Copy to Clipboard
  73. Show Alert
    Copied to clipboard
  74. If
  75. Show Alert

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Вам также может понравиться

См. все
Реклама