UNPKG

@peculiar/webcrypto

Version:
16 lines (15 loc) • 397 B
/** * Copyright (c) 2019-2026, Peculiar Ventures * SPDX-License-Identifier: MIT */ import { ShaCrypto } from "./crypto.js"; import * as core from "webcrypto-core"; // src/mechs/sha/sha_512.ts var Sha512Provider = class extends core.ProviderCrypto { name = "SHA-512"; usages = []; async onDigest(algorithm, data) { return ShaCrypto.digest(algorithm, data); } }; export { Sha512Provider };