Contents

resetPIRCache()

Resets the PIR on-device cache.

Declaration

func resetPIRCache() async throws

Discussion

The PIR system on device caches previous PIR queries and responses to minimize exchanges with the PIR server. When there is a dataset change on the PIR server, perform a reset of the on-device cache to avoid using stale cache entries.

See Also

Working with a Private Information Retrieval server