ShareShortcuts

KeyGen

Generates AES-CBC-256 keys for use with my KeyKit or the Shortcut CryptoKit

tuckyia
Создать форк «KeyGen»

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

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

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.

Что нового

Версия 1.1

Added shortcut info

История версий
1.1 17 июл 2019 г.

Added shortcut info

1.0 17 июл 2019 г.

First release

Что делает

Действий: 22
  1. Dictionary
  2. Dictionary
  3. Set Variable
    dict
  4. Text
  5. Text
  6. Base64 Encode
  7. Replace Text
  8. URL
    data:text/html;base64,…
  9. Get Contents of Web Page
  10. Get Text from Input
  11. Replace Text
  12. Base64 Encode
  13. URL Encode
  14. Get Dictionary from Input
  15. Get Dictionary Value
  16. Set Variable
    result
  17. Date
  18. Adjust Date
  19. Get Variable
  20. Copy to Clipboard
  21. Show Alert
    Attention
  22. Get Variable

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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'.
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

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

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

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

Реклама

Ещё от tuckyia

См. все

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

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