UNPKG

saros-sdk

Version:
9 lines (7 loc) 185 B
/* eslint-disable no-undef */ import { SHA256 } from 'crypto-js' export class HashService { static sha256 (message) { return Buffer.from(SHA256(message).toString(), 'hex') } }