UNPKG

@confluentinc/schemaregistry

Version:
21 lines (20 loc) 651 B
"use strict"; /** * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Mac = void 0; /** * Interface for Message Authentication Codes (MAC). * * Security guarantees: Message Authentication Codes provide symmetric message * authentication. Instances implementing this interface are secure against * existential forgery under chosen plaintext attack, and can be deterministic * or randomized. This interface should be used for authentication only, and not * for other purposes like generation of pseudorandom bytes. * */ class Mac { } exports.Mac = Mac;