UNPKG

@xrplf/isomorphic

Version:

A collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js

8 lines (6 loc) 241 B
import { createHash } from 'crypto' import wrapCryptoCreateHash from '../internal/wrapCryptoCreateHash' /** * Wrap node's native ripemd160 implementation in HashFn */ export const ripemd160 = wrapCryptoCreateHash('ripemd160', createHash)