UNPKG

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