NillionNetwork/nada-by-example

Oblivious Update

開放

#20 建立於 2024年8月14日

 (2 則留言) (0 個反應) (0 位負責人)Python (10 個分叉)auto 404
enhancementhacktoberfesthelp wanted

倉庫指標

星標
 (11 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Request a New Nada Example

Obliviously update an element of a list if it exists.

Description

Similarly to our linear scan example that checks whether a specific value old_value is present in a list, we now want to update the value to a new_value (if it exists).

For example in a list of SecretIntegers [1, 2, 3, 4, 5], old_value = 2, and old_value = 6, the list will become [1, 6, 3, 4, 5].

貢獻者指南