Interface CryptoV2NodeParameters

Source
interface CryptoV2NodeParameters {
    action?:
        | "generate"
        | "hash"
        | "hmac"
        | "sign"
        | "encrypt"
        | "decrypt";
    algorithm?: | "md5"
    | "ripemd160"
    | "sha1"
    | "sha224"
    | "sha256"
    | "sha384"
    | "sha512"
    | "sha512-224"
    | "sha512-256"
    | "sha3-224"
    | "sha3-256"
    | "sha3-384"
    | "sha3-512";
    binaryData?: boolean;
    binaryPropertyName?: string;
    cipher?: | "aes-256-gcm"
    | "aes-192-gcm"
    | "aes-128-gcm"
    | "chacha20-poly1305";
    dataPropertyName?: string;
    encoding?: "base64"
    | "hex";
    encodingType?: "ascii" | "base64" | "hex" | "uuid";
    mode?: "symmetric" | "asymmetric";
    stringLength?: number;
    type?:
        | "MD5"
        | "SHA1"
        | "SHA256"
        | "SHA3-256"
        | "SHA3-384"
        | "SHA3-512"
        | "SHA384"
        | "SHA512";
    value?: string;
}

Properties§

§readonly action?:
    | "generate"
    | "hash"
    | "hmac"
    | "sign"
    | "encrypt"
    | "decrypt"

Default: "hash"

§readonly algorithm?:
    | "md5"
    | "ripemd160"
    | "sha1"
    | "sha224"
    | "sha256"
    | "sha384"
    | "sha512"
    | "sha512-224"
    | "sha512-256"
    | "sha3-224"
    | "sha3-256"
    | "sha3-384"
    | "sha3-512"

Choose from the list, or specify an ID using an expression

§readonly binaryData?: boolean

Whether the data to hashed should be taken from binary field

§readonly binaryPropertyName?: string

Name of the binary property which contains the input data Default: "data"

§readonly cipher?:
    | "aes-256-gcm"
    | "aes-192-gcm"
    | "aes-128-gcm"
    | "chacha20-poly1305"

Authenticated cipher to use. The same value must be selected on encrypt and decrypt. Default: "aes-256-gcm"

§readonly dataPropertyName?: string

Name of the property to which to write the hash Default: "data"

§readonly encoding?: "base64" | "hex"

Default: "hex"

§readonly encodingType?: "ascii" | "base64" | "hex" | "uuid"

Encoding that will be used to generate string Default: "uuid"

§readonly mode?: "symmetric" | "asymmetric"

Default: "symmetric"

§readonly stringLength?: number

Length of the generated string Default: 32

§readonly type?:
    | "MD5"
    | "SHA1"
    | "SHA256"
    | "SHA3-256"
    | "SHA3-384"
    | "SHA3-512"
    | "SHA384"
    | "SHA512"

The hash type to use Default: "SHA256"

§readonly value?: string

The value that should be hashed