Skip to content

Commit

Permalink
testing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Erdmanis committed Nov 6, 2024
1 parent d36c786 commit 1000d67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ simulator = braid(Y, g, verifier)
@assert verify(simulator)

# Get outputs
h = output_generator(simulator.proposition)
Y′ = output_members(simulator.proposition)
h = ShuffleProofs.output_generator(simulator.proposition)
Y′ = ShuffleProofs.output_members(simulator.proposition)

# Verify membership preservation
@assert sort(h .^ y) == sort(Y′)
Expand Down
2 changes: 2 additions & 0 deletions src/ShuffleProofs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ Base.isvalid(::Type{VShuffleProof{G, N}}, proposition::Shuffle{G, N}) where {G <
include("braid.jl")
include("serializer.jl")

export prove, verify, shuffle, braid

end # module

0 comments on commit 1000d67

Please sign in to comment.