SwarmKeyDb now supports privacy-preserving key queries via HMAC-derived key tokens.
keys(prefix), range scans, and scan) are resolved from a local manifest.swarmkeydb-migrate --enable-privacy.var options = new SwarmKeyDbOptions
{
PrivacyMode = PrivacyMode.ObliviousHashing,
PrivacyKeyHex = "<64-char-hex-key>"
};
var store = new SwarmKeyValueStore(
new BeeSwarmClient(new Uri("http://localhost:1633/"), "<batch-id>"),
new FileKeyIndex("./data/index.json"),
options);
dotnet run --project src/SwarmKeyDb.Migrate/SwarmKeyDb.Migrate.csproj -- \
--from redis://localhost:6379 \
--to redis://localhost:6380 \
--enable-privacy \
--privacy-key <64-char-hex-key> \
--dry-run
Then remove --dry-run to execute the migration.
None / noneObliviousHashing / oblivious_hashingFullPSI / full_psiFullPSI currently provides lightweight blind-set PSI primitives (digest exchange + intersection), while storage/query APIs use the same key-token path as oblivious hashing.