UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

1 lines • 399 B
{"version":3,"file":"Sha1.mjs","names":[],"sources":["../../../src/crypto/hashes/Sha1.ts"],"sourcesContent":["import { sha1 } from '@noble/hashes/legacy.js'\nimport type { IHash } from './IHash'\n\nexport class Sha1 implements IHash {\n public hash(data: Uint8Array): Uint8Array {\n return sha1(data)\n }\n}\n"],"mappings":";;;;;AAGA,IAAa,OAAb,MAAmC;CACjC,AAAO,KAAK,MAA8B;AACxC,SAAO,KAAK,KAAK"}