Utility functions for working with hashes or checksums.

Hierarchy

  • Hash

Index

Properties

incrementalMd5ArrayBuffer

incrementalMd5ArrayBuffer: function

Creates a new object for building an MD5 checksum incrementally. You can add data as it arrives, then obtain the final MD5 sum when all the data was processed. This avoids having to read the data into memory all at once.

Type declaration

md5Blob

md5Blob: function

Computes the MD5 checksum of the given blob.

param

Blob to process.

returns

The MD5 checksum of the given blob.

Type declaration

    • (blob: Blob): Promise<string>
    • Parameters

      • blob: Blob

      Returns Promise<string>