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.

17 lines (14 loc) 362 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import {PbEncryptedKeyset, PbKeyset} from './proto'; /** * KeysetWriter knows how to write a keyset or an encrypted keyset to some * storage system. * */ export interface KeysetWriter { encodeBinary(keyset: PbKeyset|PbEncryptedKeyset): Uint8Array; }