UNPKG

pooja-docucomb-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 (11 loc) 413 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import {BinaryKeysetReader} from '../internal/binary_keyset_reader'; import {KeysetHandle, readNoSecret} from '../internal/keyset_handle'; export function deserializeNoSecretKeyset( serializedKeyset: Uint8Array): KeysetHandle { return readNoSecret(BinaryKeysetReader.withUint8Array(serializedKeyset)); }