~/bend-docscommunity

src/SstChecksum.bend checks

raw source on the hub · import mylsm-lsm-store@0.3.1.0/src/SstChecksum.bend as SstChecksum

2 imports
import Base
import ./hub_sha/sha256.bend as SHA

Definitions

def digest source · line 7 · raw

@+body:String -> String

Single checksum for SSTable v2 framing. SHA-256 is vendored under ./hub_sha (see its headers); our laws only cover framing (digest placed after '#', verified on parse), and vectors below pin the primitive.

def verify source · line 10 · raw

@+body:String -> @+claimed:String -> Bool