Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Windows.Crypto.ComputeSHA1Hash

static function ComputeSHA1Hash(buffer: byte[]): byte[];
static byte[] ComputeSHA1Hash(byte[] buffer);
static def ComputeSHA1Hash(buffer as byte[]) as byte[]

Parameters

bufferThe input to compute the hash code for.

Description

Computes SHA1 hash value for the specified byte array.