1. [spark-md5](https://github.com/satazor/js-spark-md5), After some testing, this is indeed the highest performing version in the pure JS version. It has been introduced into this warehouse and adjusted to be used in ESM mode.
> regular md5 function, you can use to calculate a small string(<100MB).
#### 2. md5Sum(ab`<ArrayBuffer>`)
> you can use this to calculate a large data. Need an `ArrayBuffer` object which can get the value through `FileReader` , and the `Blob` object of the new browser also has an `arraybuffer` prototype method。
#### 3. base64encode(str`<String>`)
> Base64 encoding, supports Chinese.
#### 4. base64decode(str`<String>`)
> Base64 decoding.
#### 5. uuid()
> Generate a unique 24-bit random string. Only guarantees uniqueness on a single machine.
#### 6. ab2hex(ab`<ArrayBuffer>`)
> Convert an `arraybuffer` object to a hexadecimal string.
#### 7. ab2bin(ab`<ArrayBuffer>`)
> Convert an `arraybuffer` object to a Binary string.
#### 8. sha1(str`<String>`)
> Calculate the `sha1` value of the specified string.
>> Note: The return value of this method is not a string, but a `Promise` object.
#### 9. sha256(str`<String>`)
> Calculate the `sha256` value of the specified string.
>> Note: The return value of this method is not a string, but a `Promise` object.
#### 10. sha512(str`<String>`)
> Calculate the `sha512` value of the specified string.
>> Note: The return value of this method is not a string, but a `Promise` object.
> Hash algorithm, used to implement fuzzy processing of some important data, to achieve the purpose of hiding plaintext. The above sha1, sha256, etc., are actually based on this re-encapsulation result; algorithm, optional values are: SHA-1, SHA-256, SHA-384, SHA-512.
>> Note: The return value of this method is not a string, but a Promise object.
> HMAC algorithm, which is a combination of a hash algorithm and a key to prevent the destruction of signature integrity. Compared with the above hash algorithm, it has an additional key parameter.
>> Note: The return value of this method is not a string, but a Promise object.