mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add support for getting a Sha256 from a String.
This commit is contained in:
@@ -68,6 +68,7 @@ class Serializer
|
||||
uint256 getSHA512Half(int size=-1) const;
|
||||
static uint256 getSHA512Half(const std::vector<unsigned char>& data, int size=-1);
|
||||
static uint256 getSHA512Half(const unsigned char *data, int len);
|
||||
static uint256 getSHA512Half(const std::string& strData);
|
||||
|
||||
// totality functions
|
||||
int getLength() const { return mData.size(); }
|
||||
|
||||
Reference in New Issue
Block a user