NillionNetwork/nada-by-example

Oblivious Shuffling

开放

#27 创建于 2024年8月26日

 (0 条评论) (0 个反应) (0 位负责人)Python (10 个派生)auto 404
enhancementhacktoberfesthelp wanted

仓库指标

星标
 (11 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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:

贡献者指南