Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ CSHA1
Method
CSHA1
src/crypto/sha1.cpp:149–152 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
////// SHA1
148
149
CSHA1::CSHA1() : bytes(0)
150
{
151
sha1::Initialize(s);
152
}
153
154
CSHA1& CSHA1::Write(const unsigned char* data, size_t len)
155
{
Callers
nothing calls this directly
Calls
1
Initialize
Function · 0.70
Tested by
no test coverage detected