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:

貢獻者指南