cipheriv decrypt

This block is part of the crypto group and was last modified in core v10.4.28.

cipheriv decrypt v10.4.28

decrypting data

In pins 4
  • algorithm
    value

    The algorithm to use

    Default aes-192-cbc

  • key required
    value

    The key used to encrypt (mostly scrypt output)

  • data required
    value

    The data to be decrypted

  • auth tag required
    value

    The auth tag used during the encryption

Out pins 3
  • success
    condition
  • decrypted
    value

    The decrypted plaintext

  • error
    value

    If an error occured, this pin is filled

Decrypts the versioned HEX envelope produced by value_cipher_encrypt and authenticates it before returning plaintext. Legacy fixed-IV CBC/GCM ciphertext remains readable during migration; auth_tag is used only for legacy GCM. key and data must be hex. On failure success is false and output is not written.

A typical wiring for cipheriv decrypt: value feeds the key pin; value feeds the data pin; value feeds the auth_tag pin; the success out pin feeds branch.

Studio canvas example for the cipheriv decrypt block: typical wiring for cipheriv decrypt.

Version history

Introduced in v10.4.28.


Back to crypto Return to the main group to view all sub-groups Back to crypto Return to the group to view all blocks within this group