/* global crypto */
import { from } from './hasher.js';
const sha = (name) => async (data) => new Uint8Array(await crypto.subtle.digest(name, data));
export const sha1 = from({
    name: 'sha-1',
    code: 0x11,
    encode: sha('SHA-1')
});//# sourceMappingURL=http://go/sourcemap/sourcemaps/cd1c87ff9b66021918fb9731605f8d1d5fd2f0b0/node_modules/multiformats/dist/src/hashes/sha1-browser.js.map