UNPKG

@peculiar/webcrypto

Version:
16 lines (15 loc) • 389 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_1.ts var Sha1Provider = class extends core.ProviderCrypto { name = "SHA-1"; usages = []; async onDigest(algorithm, data) { return ShaCrypto.digest(algorithm, data); } }; export { Sha1Provider };