urlb64touint8array
v1.0.3
Published
A javscript utility function which converts the base 64 safe encoded string to UInt8Array.
Downloads
384
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 urlb64touint8array
Usage
import toUint8Array from 'urlb64touint8array';
or
var toUint8Array = require('urlb64touint8array');