6 lines
208 B
JavaScript
6 lines
208 B
JavaScript
import { keccak256 } from "@ethersproject/keccak256";
|
|
import { toUtf8Bytes } from "@ethersproject/strings";
|
|
export function id(text) {
|
|
return keccak256(toUtf8Bytes(text));
|
|
}
|
|
//# sourceMappingURL=id.js.map
|