ethers.js/lib.esm/hash/id.js

6 lines
199 B
JavaScript
Raw Normal View History

2022-09-16 05:58:45 +03:00
import { keccak256 } from "../crypto/index.js";
2022-09-05 23:57:11 +03:00
import { toUtf8Bytes } from "../utils/index.js";
export function id(value) {
return keccak256(toUtf8Bytes(value));
}
//# sourceMappingURL=id.js.map