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.

19 lines (15 loc) 579 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as Registry from '../internal/registry'; import {AesGcmKeyManager} from './aes_gcm_key_manager'; import {AesGcmKeyTemplates} from './aes_gcm_key_templates'; export function register() { Registry.registerKeyManager(new AesGcmKeyManager()); } export const aes128GcmKeyTemplate = AesGcmKeyTemplates.aes128Gcm; export const aes256GcmKeyTemplate = AesGcmKeyTemplates.aes256Gcm; export const aes256GcmNoPrefixKeyTemplate = AesGcmKeyTemplates.aes256GcmNoPrefix;