You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can make a PR with this fork once I clean up some code, but I'm not sure if I'm breaking other abstractions. There's also a few quirks that I'd like to bring up:
Need to specify the NonInteractiveBatchedFheBools<_> type for boolean encryptions, don't need to do this for u8 encryptions
Need to make a reference everytime you do an operation with FheBools, leading to kind of confusing code like &(&(&a.queryable & &b.queryable) & &(&a.position ^ &b.position)) & &((&a.salary.gt(&b.salary)) ^ &b.position)
Need to specify FheBool by putting Vec<u64> of encryption into data field which isn't necessary for FheUint8
FheBool has a extract function, whereas FheUint8 has extract_at, should likely be the same
The text was updated successfully, but these errors were encountered:
It'd be quite nice to have
FheBool
available in the VM to write circuits. As we're using FHEW, all binary operations are far faster than multiplies and there's a few queries I want to write that are mostly boolean operations. I was able to make it work by making certain functions public for a hiring query I've been working on: https://github.com/RiverRuby/phantom-zone/blob/e56ab8ad6b9f2a45d5cd645b2a50b41ba651bec9/examples/non_interactive_hiring.rsI can make a PR with this fork once I clean up some code, but I'm not sure if I'm breaking other abstractions. There's also a few quirks that I'd like to bring up:
NonInteractiveBatchedFheBools<_>
type for boolean encryptions, don't need to do this for u8 encryptions&(&(&a.queryable & &b.queryable) & &(&a.position ^ &b.position)) & &((&a.salary.gt(&b.salary)) ^ &b.position)
FheBool
by puttingVec<u64>
of encryption intodata
field which isn't necessary forFheUint8
FheBool
has aextract
function, whereasFheUint8
hasextract_at
, should likely be the sameThe text was updated successfully, but these errors were encountered: