UNPKG

tink-crypto

Version:

A multi-language, cross-platform library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

14 lines (13 loc) 269 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Randomly generates `n` bytes. * * @param n number of bytes to generate * @return the random bytes * @static */ export declare function randBytes(n: number): Uint8Array;