Cryptography group

1. MD5 hash function

Description

Creates the MD5 hash as a byte array of the given string. Please check above the make byte array function, for more information on byte array.

Format

md5(arg_1) → result

  • arg_1 : String
  • result : byte array

Examples

  Example 1

md5("abc")

    • arg_1 : abc
    • result : 
    • 900150983CD24FB0 D6963F7D28E17F72
  Example 2

md5("hello world")

    • arg_1 : hello world
    • result : 5EB63BBBE01EEED0 93CB22BB8F5ACDC3

2. SHA1 hash function

Description

Returns the SHA1 hash as a byte array of the given string. Please check above the make byte array function for more information on byte array.

Format

sha1(arg_1) → result

  • arg_1 : String
  • result : byte array

Examples

  Example 1

sha1("abc")

    • arg_1 : abc
    • result : A9993E364706816ABA3E 25717850C26C9CD0D89D
  Example 2

sha1("hello world")

    • arg_1 : hello world
    • result : 2AAE6C35C94FCFB415DB E95F408B9CE91EE846ED

3. SHA256 hash function

Description

Returns the SHA256 hash as a byte array of the given string. Please check above the make byte array function, for more information on byte array.

Format

sha256(arg_1) → result

  • arg_1 : String
  • result : byte array

Examples

  Example 1

sha256("abc")

    • arg_1 : abc
    • result : BA7816BF8F01CFEA41414 0DE5DAE2223B00361A396 177A9CB410FF61F20015AD
  Example 2

sha256("hello world")

    • arg_1 : hello world
    • result : B94D27B9934D3E08A52E5 2D7DA7DABFAC484EFE37A 5380EE9088F7ACE2EFCDE9

4. SHA512 hash function

Description

Returns the SHA512 hash as a byte array of the given string. Please check above the make byte array function, for more information on byte array.

Format

sha512(arg_1) → result

  • arg_1 : String
  • result : byte array

Examples

  Example 1

sha512("abc")

    • arg_1 : abc
    • result : DDAF35A193617ABACC41734 9AE20413112E6FA4E89A97E A20A9EEEE64B55D39A21929 92A274FC1A836BA3C23A3FE EBBD454D4423643CE80E2A9 AC94FA54CA49F
  Example 2

sha512("hello world")

    • arg_1 : hello world
    • result : 309ECC489C12D6EB4CC40F5 0C902F2B4D0ED77EE511A7C 7A9BCD3CA86D4CD86F989DD 35BC5FF499670DA34255B45 B0CFD830E81F605DCF7DC55 42E93AE9CD76F

Have we answered your question?

If not, please contact our technical support team via email by clicking the button below.

CONTACT US