Отсканируй на iPhone, чтобы установить
This shortcut encodes your message in base64 a random amount of times. Once you send the code your friend just opens up this shortcut and pastes the code into the decode section.
Keep your messages hidden from prying eyes. 👀
Что нового
Версия 1.0
First release
Что делает
Действий: 25-
Choose from Menu
-
Choose from MenuEncode
-
Ask for InputSecret text:
-
Set VariableText
-
Random Number
-
Repeat
-
Base64 Encode
-
Set VariableText
-
Get Text from Input
-
Get Text from Input
-
List
-
Combine Text
-
Show Result
-
Copy to Clipboard
-
Choose from MenuDecode
-
Ask for InputSecret Text
-
Split Text
-
Get Item from List
-
Set VariableDecodeText
-
Get Item from List
-
Repeat
-
Base64 Encode
-
Set VariableDecodeText
-
Show Result
-
Copy to Clipboard
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/text'
#include 'actions/crypto'
#define color lightblue
#define glyph chatBubble
menu nil {
item "Encode":
prompt("Secret text:")
@Text
const RandomNumber = randomNumber(1, 9)
repeat _ for RandomNumber {
base64Encode(@Text)
@Text
}
getText(@Text)
getText(RandomNumber)
const List = list(, )
const CombinedText = joinText(List, "🤫")
show(CombinedText)
setClipboard(CombinedText)
item "Decode":
const ProvidedInput = prompt("Secret Text")
const SplitText = splitText(ProvidedInput, "🤫")
getFirstItem(SplitText)
@DecodeText
const ItemFromList = getRandomItem(SplitText)
repeat _ for ItemFromList {
base64Encode(@DecodeText)
@DecodeText
}
show(@DecodeText)
setClipboard(@DecodeText)
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от fkawilliams
Вам также может понравиться
Реклама