2019-08-25 09:39:20 +03:00
|
|
|
"use strict";
|
|
|
|
import sha3 from "js-sha3";
|
|
|
|
import { arrayify } from "@ethersproject/bytes";
|
|
|
|
export function keccak256(data) {
|
|
|
|
return '0x' + sha3.keccak_256(arrayify(data));
|
|
|
|
}
|
2020-07-13 15:03:56 +03:00
|
|
|
//# sourceMappingURL=index.js.map
|