Skip to content

cupertino-files / sha1

Function: sha1()

sha1(data): Uint8Array

Defined in: src/base/sha1.ts:5

SHA-1, pure TS. Needed for TSP.DataInfo.digest when adding Data/ files (the format's integrity check — not used for security).

Parameters

data

Uint8Array

Returns

Uint8Array

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.