All files / src/crypto hash.ts

75% Statements 3/4
100% Branches 0/0
0% Functions 0/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 41x   1x  
import { BytesLike, sha256 as sha256Ethers } from "ethers/lib/utils";
 
export const sha256ToHex = (data: BytesLike): string => sha256Ethers(data);