package
Version:
v0.0.0-...-a01cb7b
Opens a new window with list of versions in this module.
Published: Mar 24, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
1-out-of-n Oblivious transfer
Go implementation of Bellare-Micali oblivious transfer scheme based on Diffie-Hellman, supporting 1-out-n scenario
Tests
$ go test .
Reference
Oblivious transfer: https://en.wikipedia.org/wiki/Oblivious_transfer
Documentation
¶
ComputePKs compute public keys based on given c, return random k and PK0
index is the index of target message
RecoverM recover message from cs
CipherM encrypted message structure
ComputeCs compute cipherMs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.