1 | Solidity Packed-Encoding Utilities
|
2 | ==================================
|
3 |
|
4 | This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).
|
5 |
|
6 | It contains functions to perform Solidity-specific packed (i.e. non-standard)
|
7 | encoding operations.
|
8 |
|
9 | For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/hashing/#utils--solidity-hashing).
|
10 |
|
11 | Importing
|
12 | ---------
|
13 |
|
14 | Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
|
15 | but for those with more specific needs, individual components can be imported.
|
16 |
|
17 | ```javascript
|
18 | const {
|
19 |
|
20 | pack,
|
21 | keccak256,
|
22 | sha256
|
23 |
|
24 | } = require("@ethersproject/solidity");
|
25 | ```
|
26 |
|
27 |
|
28 | License
|
29 | -------
|
30 |
|
31 | MIT License
|