mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-24 19:43:41 +02:00
include/libeosio/hash.hpp: minor documentation fixes.
This commit is contained in:
parent
eab4aee8af
commit
0af91b4fc6
1 changed files with 6 additions and 6 deletions
|
|
@ -31,22 +31,22 @@ namespace libeosio {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* sha256 hashing function.
|
* sha256 hashing function.
|
||||||
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
|
* Hashes the content in `data` up to `len` bytes. The result is stored in `out`.
|
||||||
* Returns the sampe pointer as `out`.
|
* Returns the same pointer as `out`.
|
||||||
*/
|
*/
|
||||||
sha256_t* sha256(const unsigned char *data, std::size_t len, sha256_t* out);
|
sha256_t* sha256(const unsigned char *data, std::size_t len, sha256_t* out);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* sha256 double hashing function.
|
* sha256 double hashing function.
|
||||||
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
|
* Hashes the content in `data` up to `len` bytes. The result is stored in `out`.
|
||||||
* Returns the sampe pointer as `out`.
|
* Returns the same pointer as `out`.
|
||||||
*/
|
*/
|
||||||
sha256_t* sha256d(const unsigned char *data, std::size_t len, sha256_t* out);
|
sha256_t* sha256d(const unsigned char *data, std::size_t len, sha256_t* out);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RipeMD160 hashing function.
|
* RipeMD160 hashing function.
|
||||||
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
|
* Hashes the content in `data` up to `len` bytes. The result is stored in `out`.
|
||||||
* Returns the sampe pointer as `out`.
|
* Returns the same pointer as `out`.
|
||||||
*/
|
*/
|
||||||
ripemd160_t* ripemd160(const unsigned char *data, std::size_t len, ripemd160_t* out);
|
ripemd160_t* ripemd160(const unsigned char *data, std::size_t len, ripemd160_t* out);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue