ethers.js/src.ts/hash/index.ts

17 lines
593 B
TypeScript
Raw Permalink Normal View History

2022-11-27 21:53:31 -05:00
/**
* Utilities for common tasks involving hashing. Also see
* [cryptographic hashing](about-crypto-hashing).
2022-11-27 21:53:31 -05:00
*
2023-02-12 21:21:11 -05:00
* @_section: api/hashing:Hashing Utilities [about-hashing]
2022-11-27 21:53:31 -05:00
*/
2022-09-05 16:14:43 -04:00
export { id } from "./id.js"
export { ensNormalize, isValidName, namehash, dnsEncode } from "./namehash.js";
2023-01-15 07:54:49 -05:00
export { hashMessage, verifyMessage } from "./message.js";
2022-09-05 16:14:43 -04:00
export {
solidityPacked, solidityPackedKeccak256, solidityPackedSha256
} from "./solidity.js";
export { TypedDataEncoder, verifyTypedData } from "./typed-data.js";
2022-09-05 16:14:43 -04:00
export type { TypedDataDomain, TypedDataField } from "./typed-data.js";