Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BabitMF/bmf
/ digest
Method
digest
bmf_lite/src/algorithm/modules/operators/utils/SHA256.cpp:61–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
std::array<uint8_t, 32> SHA256::digest() {
62
std::array<uint8_t, 32> hash;
63
64
pad();
65
revert(hash);
66
67
return hash;
68
}
69
70
uint32_t SHA256::rotr(uint32_t x, uint32_t n) {
71
return (x >> n) | (x << (32 - n));
Callers
1
build_program
Method · 0.80
Calls
1
pad
Function · 0.85
Tested by
no test coverage detected