web3.js/docs/web3-utils.rst
Fabian Vogelsteller 8fb992caa0
fixed utils
2017-02-13 18:04:04 +01:00

41 lines
621 B
ReStructuredText

========
web3.utils
========
This package provides utility functions for Ethereum dapps and other web3.js packages.
------------------------------------------------------------------------------
sha3
=====================
.. code-block:: javascript
web3.utils.sha3(string)
Will calculate the sha3 of the input.
----------
Parameters
----------
1. ``String`` - ``string``: A string to hash.
-------
Returns
-------
``String``: the result hash.
-------
Example
-------
.. code-block:: javascript
web3.utils.sha3('234');
------------------------------------------------------------------------------