mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-18 20:40:03 +02:00
Split include/libeosio/types.hpp into ec.hpp and hash.hpp
This commit is contained in:
parent
6a721c4634
commit
2a2360bd7d
5 changed files with 46 additions and 5 deletions
|
|
@ -25,10 +25,15 @@
|
|||
#define LIBEOSIO_HASH_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <libeosio/types.hpp>
|
||||
|
||||
namespace libeosio {
|
||||
|
||||
/**
|
||||
* Hashes
|
||||
*/
|
||||
typedef struct { unsigned char data[20]; } ripemd160_t;
|
||||
typedef struct { unsigned char data[32]; } sha256_t;
|
||||
|
||||
/**
|
||||
* sha256 hashing function.
|
||||
* Hashes the content in `data` up to `len` bytes. The result is stored in `out`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue