cipheriv encrypt

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

cipheriv encrypt v10.4.28

Encrypts the given file using a specific algorithm and key for secure storage

In pins 3 + flow
  • flow
    flow
  • algorithm required
    value

    The algorithm to use

    Default aes-192-cbc

  • key required
    value

    The key used to encrypt (mostly scrypt output)

  • file required
    file

    The file to be encrypted

Out pins 4 + flow
  • flow
    flow
  • success
    condition
    true
  • encrypted
    file
  • auth tag
    value
  • error
    value

    If an error occured, this pin is filled

A typical wiring for cipheriv encrypt: a function trigger starts the flow; value feeds the algorithm pin; value feeds the key pin; get file from assets feeds the file pin; the flow out pin feeds debug.

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

Version history

Introduced in v10.4.28.


Back to files Return to the main group to view all sub-groups Back to file encryption Return to the group to view all blocks within this group