Skip to content

Commit bbb46cd

Browse files
committed
doc
1 parent c90526c commit bbb46cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tfhe/docs/fhe-computation/advanced-features/encrypted-prf.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ This is possible through two methods on `FheUint` and `FheInt`:
88
- `generate_oblivious_pseudo_random` which return an integer taken uniformly in the full integer range (`[0; 2^N[` for a `FheUintN` and `[-2^(N-1); 2^(N-1)[` for a `FheIntN`).
99
- `generate_oblivious_pseudo_random_bounded` which return an integer taken uniformly in `[0; 2^random_bits_count[`. For a `FheUintN`, we must have `random_bits_count <= N`. For a `FheIntN`, we must have `random_bits_count <= N - 1`.
1010

11+
12+
TODO: document `generate_oblivious_pseudo_random_custom_range`
13+
1114
Both methods functions take a seed `Seed` as input, which could be any `u128` value.
1215
They both rely on the use of the usual server key.
1316
The output is reproducible, i.e., the function is deterministic from the inputs: assuming the same hardware, seed and server key, this function outputs the same random encrypted value.

0 commit comments

Comments
 (0)