Interface CryptoNodeParameters

Source
interface CryptoNodeParameters {
    action?: "generate" | "hash" | "hmac" | "sign";
    algorithm?:
        | "md5"
        | "sha1"
        | "sha224"
        | "sha256"
        | "sha384"
        | "sha512"
        | "sha512-224"
        | "sha512-256"
        | "ripemd160";
    binaryData?: boolean;
    binaryPropertyName?: string;
    dataPropertyName?: string;
    encoding?: "base64"
    | "hex";
    encodingType?: "ascii" | "base64" | "hex" | "uuid";
    privateKey?: string;
    secret?: string;
    stringLength?: number;
    type?:
        | "MD5"
        | "SHA256"
        | "SHA3-256"
        | "SHA3-384"
        | "SHA3-512"
        | "SHA384"
        | "SHA512";
    value?: string;
}

Properties§

Source§

readonly action?: "generate" | "hash" | "hmac" | "sign"

Default: "hash"

Source§

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

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

Source§

readonly binaryData?: boolean

Whether the data to hashed should be taken from binary field

Source§

readonly binaryPropertyName?: string

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

Source§

readonly dataPropertyName?: string

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

Source§

readonly encoding?: "base64" | "hex"

Default: "hex"

Source§

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

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

Source§

readonly privateKey?: string

Private key to use when signing the string

Source§

readonly secret?: string

Type options: {"password":true}

Source§

readonly stringLength?: number

Length of the generated string Default: 32

Source§

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

The hash type to use Default: "MD5"

Source§

readonly value?: string

The value that should be hashed