From 0af91b4fc640334561667e1689dc834ca115dc4f Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 6 May 2021 15:11:40 +0200 Subject: [PATCH] include/libeosio/hash.hpp: minor documentation fixes. --- include/libeosio/hash.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/libeosio/hash.hpp b/include/libeosio/hash.hpp index abb383c..630ef93 100644 --- a/include/libeosio/hash.hpp +++ b/include/libeosio/hash.hpp @@ -31,22 +31,22 @@ namespace libeosio { /** * sha256 hashing function. - * Hashes the content in `data` up to `len` bytes. result is stored in `out`. - * Returns the sampe pointer as `out`. + * Hashes the content in `data` up to `len` bytes. The result is stored in `out`. + * Returns the same pointer as `out`. */ sha256_t* sha256(const unsigned char *data, std::size_t len, sha256_t* out); /** * sha256 double hashing function. - * Hashes the content in `data` up to `len` bytes. result is stored in `out`. - * Returns the sampe pointer as `out`. + * Hashes the content in `data` up to `len` bytes. The result is stored in `out`. + * Returns the same pointer as `out`. */ sha256_t* sha256d(const unsigned char *data, std::size_t len, sha256_t* out); /** * RipeMD160 hashing function. - * Hashes the content in `data` up to `len` bytes. result is stored in `out`. - * Returns the sampe pointer as `out`. + * Hashes the content in `data` up to `len` bytes. The result is stored in `out`. + * Returns the same pointer as `out`. */ ripemd160_t* ripemd160(const unsigned char *data, std::size_t len, ripemd160_t* out);