Documentation
¶
Overview ¶
Package crypto provides an interface to VM cryptographic instructions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash160 ¶
Hash160 computes SHA256 + RIPEMD-160 of b, which is commonly used for script hashing and address generation. It uses `HASH160` VM instruction.
func Hash256 ¶
Hash256 computes double SHA256 hash of b (SHA256(SHA256(b))) which is used as ID for transactions, blocks and assets. It uses `HASH256` VM instruction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.