Cryptography Actions

Table of contents

  1. Base 64 Decode
  2. Base 64 Encode
  3. Hash

To use actions in this category, use this include statement:

#include 'actions/crypto'

Base 64 Decode

Base 64 decodes input.

base64Decode(variable input): text

Base 64 Encode

Base 64 encodes input.

base64Encode(variable encodeInput): text

Hash

Generate a hash of type using input.

enum hashType {
    'MD5',
    'SHA1',
    'SHA256',
    'SHA512',
}

hash(variable input, hashType ?type = "MD5"): text

Copyright ©. Distributed under the GPL-2.0 License. Siri Shortcuts and Mac are registered trademarks of Apple Inc. Apple is not involved in this project in any way. Do not contact Apple Support unless you are having an issue with the Shortcuts app itself.