UNPKG
check-ethereum-scanner
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Safety checks for new Ethereum tokens
check-ethereum-scanner
/
Ethereum-Renounced-Contract-Scanner
/
node_modules
/
@ethersproject
/
keccak256
/
lib.esm
/
index.js
7 lines
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
import
sha3
from
"js-sha3"
;
import
{ arrayify }
from
"@ethersproject/bytes"
;
export
function
keccak256
(
data
) {
return
'0x'
+ sha3.
keccak_256
(
arrayify
(data)); }
//# sourceMappingURL=index.js.map