NillionNetwork/nada-by-example

Oblivious Shuffling

Aberta

#27 aberto em 26 de ago. de 2024

 (0 comentário) (0 reação) (0 responsável)Python (10 forks)auto 404
enhancementhacktoberfesthelp wanted

Métricas do repositório

Stars
 (11 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Request a New Nada Example

Obliviously shuffle an array/list.

Description

Given an array/list as input, create a function that outputs a shuffled version of the array. One approach could be to use the Benes network.

Specific Requirements

For example in a list of SecretIntegers [1, 2, 3, 4, 5], a possible output could be [2, 5, 1, 3, 4].

Additional Context

Optional: Additionally, provide a secret permutation array and shuffle based on the permutation array.

Useful links:

Guia do colaborador