我正在阅读一份智能合约,并遇到了这些功能。我无法理解它。有人可以解释这些功能的作用吗?
uECC_decompress()
rhash_keccak_256_init()
rhash_keccak_update()
rhash_keccak_final()
我正在阅读一份智能合约,并遇到了这些功能。我无法理解它。有人可以解释这些功能的作用吗?
uECC_decompress()
rhash_keccak_256_init()
rhash_keccak_update()
rhash_keccak_final()
It sounds like you must have been reading either the eosio.unregd
or eosio.lost
contracts.
uECC_decompress
: Decompress a compressed public keyrhash_keccak_256_init(), rhash_keccak_update(), rhash_keccak_final()
: initialize, add data to, and compute a Keccak256 hash. EDIT: Neither of these are a part of CDT. They are external libraries pulled into the project. Check the ecc
folder in both to see the implementations.