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 { sha256 as nobleImpl } from '@noble/hashes/sha256' import wrapNoble from '../internal/wrapNoble' /** * Wrap noble-libs's sha256 implementation in HashFn */ export const sha256 = wrapNoble(nobleImpl)