aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-25 22:27:46 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-31 01:18:29 +0800
commitaafc65a2750fa1fc7ebb27a87d6024571e526318 (patch)
treee01308b3ee733bb0bbe16a5a386ad148844222b4 /docs/miscellaneous.rst
parent2667874587b831fce36fc12b60a6b6588dfc463b (diff)
downloaddexon-solidity-aafc65a2750fa1fc7ebb27a87d6024571e526318.tar.gz
dexon-solidity-aafc65a2750fa1fc7ebb27a87d6024571e526318.tar.zst
dexon-solidity-aafc65a2750fa1fc7ebb27a87d6024571e526318.zip
Made explicit that we use KECCAK-256
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 01a7a04c..f972532c 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -171,7 +171,7 @@ Global Variables
- ``now`` (``uint``): current block timestamp (alias for ``block.timestamp``)
- ``tx.gasprice`` (``uint``): gas price of the transaction
- ``tx.origin`` (``address``): sender of the transaction (full call chain)
-- ``sha3(...) returns (bytes32)``: compute the Ethereum-SHA3 hash of the (tightly packed) arguments
+- ``sha3(...) returns (bytes32)``: compute the Ethereum-SHA3 (KECCAK-256) hash of the (tightly packed) arguments
- ``sha256(...) returns (bytes32)``: compute the SHA256 hash of the (tightly packed) arguments
- ``ripemd160(...) returns (bytes20)``: compute RIPEMD of 256 the (tightly packed) arguments
- ``ecrecover(bytes32, uint8, bytes32, bytes32) returns (address)``: recover address associated with the public key from elliptic curve signature