From 9407fddd21295b7bdf2757736b69b046a02e798c Mon Sep 17 00:00:00 2001 From: Stratos Theodorou Date: Fri, 7 Oct 2022 20:15:11 +0300 Subject: [PATCH] feat(Crypto Node): Add SHA3 support (#4285) Added SHA3-256, SHA3-384 and SHA3-512 algorithm support for hash and hmac actions. --- .../nodes-base/nodes/Crypto/Crypto.node.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/packages/nodes-base/nodes/Crypto/Crypto.node.ts b/packages/nodes-base/nodes/Crypto/Crypto.node.ts index 72c03e1b0f157..32ffb2647ea8a 100644 --- a/packages/nodes-base/nodes/Crypto/Crypto.node.ts +++ b/packages/nodes-base/nodes/Crypto/Crypto.node.ts @@ -88,6 +88,18 @@ export class Crypto implements INodeType { name: 'SHA256', value: 'SHA256', }, + { + name: 'SHA3-256', + value: 'SHA3-256', + }, + { + name: 'SHA3-384', + value: 'SHA3-384', + }, + { + name: 'SHA3-512', + value: 'SHA3-512', + }, { name: 'SHA384', value: 'SHA384', @@ -167,6 +179,18 @@ export class Crypto implements INodeType { name: 'SHA256', value: 'SHA256', }, + { + name: 'SHA3-256', + value: 'SHA3-256', + }, + { + name: 'SHA3-384', + value: 'SHA3-384', + }, + { + name: 'SHA3-512', + value: 'SHA3-512', + }, { name: 'SHA384', value: 'SHA384',