UNPKG

@xrplf/isomorphic

Version:

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

9 lines (6 loc) 211 B
import { sha512 as nobleImpl } from '@noble/hashes/sha512' import wrapNoble from '../internal/wrapNoble' /** * Wrap noble-libs's sha512 implementation in HashFn */ export const sha512 = wrapNoble(nobleImpl)