ShareShortcuts

Secret Messages

This shortcut encodes your message in base64 a random amount of times

fkawilliams
Fork “Secret Messages”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so fkawilliams gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
41K
Saved
0
Actions
25
Category
API
Version
1.0
Language
EN

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

Version History
1.0 Jul 26, 2022

First release

What it does

25 actions
  1. Choose from Menu
  2. Choose from Menu
    Encode
  3. Ask for Input
    Secret text:
  4. Set Variable
    Text
  5. Random Number
  6. Repeat
  7. Base64 Encode
  8. Set Variable
    Text
  9. Get Text from Input
  10. Get Text from Input
  11. List
  12. Combine Text
  13. Show Result
  14. Copy to Clipboard
  15. Choose from Menu
    Decode
  16. Ask for Input
    Secret Text
  17. Split Text
  18. Get Item from List
  19. Set Variable
    DecodeText
  20. Get Item from List
  21. Repeat
  22. Base64 Encode
  23. Set Variable
    DecodeText
  24. Show Result
  25. Copy to Clipboard

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement