Scan with your iPhone to install
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. 👀
What's New
Version 1.0
First release
What it does
25 actions-
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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)
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by fkawilliams
You Might Also Like
Advertisement