Say I wanted to create a contract that let users submit some private data and then let other users see differentially private summary statistics, like mean and variance across all the users. Could I just hook in the Rust smartnoise library ( GitHub - opendifferentialprivacy/smartnoise-core: Differential privacy validator and runtime )?
It looks like they use openssl for random number generation: smartnoise-core/mod.rs at ae521c801e4369f966a90769db1a852707e18a3a · opendifferentialprivacy/smartnoise-core · GitHub . Does that create issues in terms of deterministic execution? I saw in the texas holdem example that ChaCha20 was used to randomly generate the deck. Would I need to update that fill_bytes function with something similar?