Hashes

To use the GC Wizard Hash functions GCW Script implemented the HASH function.

The function HASH needs following parameter:

  • HASH function
  • Bitrate
  • Use of a key
  • Key
  • Text

Parameter

ParameterTypMeaning
HASH functionStringThe identifier for the Has function which sould be used:
– MD2, MD4, MD5
– SHA, SHA1, SHA3
– BLAKE2B
– KECCAK
– RIPEMD
– TIGER
– WHIRLPOOL
BitrateNumber– SHA: 224, 256, 384, 512
– SHA3: 224, 256, 384, 512
– BLAKE2B: 160, 224, 256, 384, 512
– KECCAK: 128, 224, 256, 288, 384, 512
– RIPEMED: 128, 160, 256, 320
Use of a keyNumber:
0 or 1
Some Hash functions could use an additional key: MD2, MD4, MD5, SHA, SHA1, SHA3, TIGER, WHIRLPOOL.
0: no additional key
1: additional key
All other Hash functions will ignore this parameter
KeyStringKey, which has to be used
TextStringText, which has to be hashed