Scan with your iPhone to install
Generates AES-CBC-256 keys for use with my KeyKit or the Shortcut CryptoKit. Keys are copied to the clipboard and returned as an output when run. Based off of CryptoKit.
What's New
Version 1.1
Added shortcut info
What it does
22 actions-
Dictionary
-
Dictionary
-
Set Variabledict
-
Text
-
Text
-
Base64 Encode
-
Replace Text
-
URLdata:text/html;base64,…
-
Get Contents of Web Page
-
Get Text from Input
-
Replace Text
-
Base64 Encode
-
URL Encode
-
Get Dictionary from Input
-
Get Dictionary Value
-
Set Variableresult
-
Date
-
Adjust Date
-
Get Variable
-
Copy to Clipboard
-
Show AlertAttention
-
Get Variable
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/web'
#include 'actions/text'
#include 'actions/crypto'
#define color red
#define glyph gear
@dict = {
"isPassword": false,
"mode": "genKey"
}
base64Encode(nil)
replaceText("\s", "", "", true)
url("data:text/html;base64,{}")
getWebpageContents("")
getText(nil)
replaceText("_", "+", "")
base64Encode(nil)
urlEncode("")
getDictionary(nil)
@result = nil['<^|$>']
currentDate()
adjustDate("", "")
// TODO: Get Variable not supported: Assign variable here to '@result'.
setClipboard(nil, true)
alert("The generated key was copied to the clipboard. Please open this shortcut, scroll to the top and paste it in the settings dictionary at the key \"generated key\". With this step the setup is complete and you can encrypt and decrypt passwords.\nThe key will be deleted from the clipboard after 90 seconds!", "Attention")
// TODO: Get Variable not supported: Assign variable here to '@result'.
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 tuckyia
You Might Also Like
Advertisement