ShareShortcuts

Password Generator

Simple Password Generator for creating unique passwords

polygonnys
Fork “Password Generator”

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 polygonnys 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
76K
Saved
4
Actions
17
Category
Utilities
Version
1.0
Language
EN

Preview

Simple Password Generator for creating unique passwords.

What's New

Version 1.0

First release

Version History
1.0 Oct 14, 2018

First release

What it does

17 actions
  1. Choose from Menu
  2. Choose from Menu
    Alphanumeric
  3. Text
  4. Set Variable
    Character Set
  5. Choose from Menu
    Alphanumeric + Symbols
  6. Text
  7. Set Variable
    Character Set
  8. Ask for Input
    Password Length
  9. Set Variable
    Password Length
  10. Repeat
  11. Get Variable
  12. Split Text
  13. Get Item from List
  14. Combine Text
  15. Replace Text
  16. Copy to Clipboard
  17. Show Alert
    Password

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'
#define color red
#define glyph gear


menu nil {
item "Alphanumeric":
	@CharacterSet = "a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9"
item "Alphanumeric + Symbols":
	@CharacterSet = "a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ` ~ ! @ # $ % ^ & * ( ) _ - + = { } [ ] \ | : ; \\" ' < > , . ? /"
}
prompt("Password Length", "Number")
@PasswordLength = nil

repeat _ for @PasswordLength {
	// TODO: Get Variable not supported: Assign variable here to '@CharacterSet'.
	splitText(nil, " ")
	getFirstItem(nil)
}
joinText(nil, " ")
replaceText(" ", "", "", false)
setClipboard(nil)
alert(Clipboard, "Password")
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
Oct 14, 2018
danielbahl

Thank you for sharing. I'll just add some screenshots to this. :) - Daniel

Advertisement

More by polygonnys

See All

You Might Also Like

See All
Advertisement