Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ sha256
Method
sha256
valdi/src/valdi/runtime/Utils/BytesUtils.cpp:16–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
namespace Valdi {
15
16
Ref<ByteBuffer> BytesUtils::sha256(const BytesView& data) {
17
return sha256(data.data(), data.size());
18
}
19
20
static void doDigest(const Byte* data, size_t length, Byte* output) {
21
SHA256_CTX sha256;
Callers
nothing calls this directly
Calls
4
doDigest
Function · 0.85
data
Method · 0.45
size
Method · 0.45
resize
Method · 0.45
Tested by
no test coverage detected