@sidharthchh/urlb64touint8array
v0.0.2
Published
A javscript utility function which converts the base 64 safe encoded string to UInt8Array. Originally written at https://github.com/gbhasha/base64-to-uint8array
Downloads
81
Maintainers
Readme
urlb64touint8array
The Uint8Array typed array represents an array of 8-bit unsigned integers. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
General use case:
Used while exchanging secret key between client and server.
Installation
npm install @sidharthchh/urlb64touint8array
Usage
import toUint8Array from 'urlb64touint8array';