mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Made explicit that we use KECCAK-256
This commit is contained in:
parent
2667874587
commit
aafc65a275
@ -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
|
||||
|
@ -89,7 +89,7 @@ Mathematical and Cryptographic Functions
|
||||
``mulmod(uint x, uint y, uint k) returns (uint)``:
|
||||
compute ``(x * y) % k`` where the multiplication is performed with arbitrary precision and does not wrap around at ``2**256``.
|
||||
``sha3(...) returns (bytes32)``:
|
||||
compute the Ethereum-SHA-3 hash of the (tightly packed) arguments
|
||||
compute the Ethereum-SHA-3 (KECCAK-256) hash of the (tightly packed) arguments
|
||||
``sha256(...) returns (bytes32)``:
|
||||
compute the SHA-256 hash of the (tightly packed) arguments
|
||||
``ripemd160(...) returns (bytes20)``:
|
||||
|
Loading…
Reference in New Issue
Block a user