UNPKG

blocklock-js

Version:

A library for encrypting and decrypting data for the future

3 lines (1 loc) 83 B
export const encodeBytes = (s: string): Uint8Array => new TextEncoder().encode(s)