Skip to content

sha1

sha1(data?: string | Uint8Array<ArrayBufferLike>): HashObject

Defined in: packages/pythonlib/src/hashlib.ts:201

Create a new SHA-1 hash object.

Parameters

ParameterTypeDescription
data?string | Uint8Array<ArrayBufferLike>Optional initial data to hash

Returns

HashObject

A SHA-1 hash object