Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docknetwork/crypto
/ functions
Functions
2,782 in github.com/docknetwork/crypto
⨍
Functions
2,782
◇
Types & classes
723
Method
accumulator_member
The value corresponding to `element` that is added to the non-adaptive accumulator
vb_accumulator/src/kb_positive_accumulator/adaptive_accumulator.rs:240
Function
accumulator_on_deletion
()
vb_accumulator/src/threshold/mod.rs:214
Method
add
(&mut self, element: T)
vb_accumulator/src/persistence.rs:61
Method
add
Add an element to the accumulator. Returns the membership witness of that element. Whats actually added to the accumulator is the randomness used in t
vb_accumulator/src/kb_positive_accumulator/adaptive_accumulator.rs:48
Method
add
(&mut self, element: T)
test_utils/src/accumulators.rs:132
Method
add
(self, rhs: Self)
equality_across_groups/src/ec/commitments.rs:99
Method
add_meta_statement
(&mut self, meta_statement: MetaStatement)
proof_system/src/proof_spec.rs:132
Method
add_received_message
Called by a participant when it receives a message during Round 1
secret_sharing_and_dkg/src/frost_dkg.rs:141
Method
add_received_share
( &mut self, sender_id: ParticipantId, share: VerifiableShare<PKG::ScalarField, SALT_S
secret_sharing_and_dkg/src/abcp_dkg.rs:289
Function
add_remove
()
delegatable_credentials/src/accumulator.rs:251
Method
add_statement
(&mut self, statement: Statement<E>)
proof_system/src/proof_spec.rs:128
Function
affine_group_elem_from_try_and_incr
Hash bytes to a point on the curve. Returns as Affine coordinates. This is vulnerable to timing attack and is only used when input is public anyway li
utils/src/hashing_utils.rs:35
Method
affine_points_to_membership_witnesses
(wits: Vec<G>)
vb_accumulator/src/witness.rs:621
Method
aggregate
(sig_shares: Vec<Self>)
bbs_plus/src/threshold/threshold_bbs.rs:170
Method
aggregate
(sig_shares: Vec<Self>)
bbs_plus/src/threshold/threshold_bbs_plus.rs:174
Method
aggregate
Aggregate the shares to form the final user secret key
syra/src/threshold_issuance.rs:196
Method
aggregate
(shares: Vec<Self>)
short_group_sig/src/threshold_weak_bb_sig.rs:343
Function
aggregate_proofs
Since `proof.D` (commitment to witnesses) is needed for doing a Schnorr proof of knowledge and equality when not using CP_link Snark, `proof.D` does n
legogroth16/src/aggregation/legogroth16/using_groth16.rs:29
Function
aggregate_proofs
Aggregate `n` zkSnark proofs, where `n` must be a power of two. WARNING: transcript_include represents everything that should be included in the trans
legogroth16/src/aggregation/legogroth16/prover.rs:46
Function
all_different_10
( r1cs_file_path: &str, wasm_file_path: &str, commit_witness_count: u32, )
legogroth16/src/circom/tests.rs:426
Function
all_different_10
()
legogroth16/src/circom/r1cs_reader.rs:716
Function
all_different_10
()
legogroth16/src/circom/circuit.rs:437
Function
all_different_10_bls12_381
()
legogroth16/src/circom/tests.rs:1032
Function
all_different_10_bn128
()
legogroth16/src/circom/tests.rs:1025
Function
alpha_d_q_inv_pow
Compute a vector as result of alpha_d X q_inv_pows Size must be number of digits in all proofs combined
bulletproofs_plus_plus/src/range_proof.rs:893
Function
alpha_r_q_inv_pow
Compute a vector of scalar ((-x * delta)/((q_inv_pows)_i) + e)
bulletproofs_plus_plus/src/range_proof.rs:947
Function
alsz
()
oblivious_transfer/src/ot_extensions/alsz_ote.rs:770
Function
alsz_random
()
oblivious_transfer/src/ot_extensions/alsz_ote.rs:902
Function
alsz_with_active_security
()
oblivious_transfer/src/ot_extensions/alsz_ote.rs:995
Function
amortization
()
compressed_sigma/src/amortized_homomorphism.rs:209
Function
amortization
()
compressed_sigma/src/amortized_homomorphisms.rs:255
Function
amortization
()
compressed_sigma/src/amortized_linear_form.rs:294
Function
amortization_and_compression
()
compressed_sigma/src/amortized_homomorphism.rs:268
Function
amortization_and_compression
()
compressed_sigma/src/amortized_homomorphisms.rs:284
Function
amortization_and_compression
()
compressed_sigma/src/amortized_linear_form.rs:392
Function
amortization_and_compression_with_amortization_done_beforehand
()
compressed_sigma/src/amortized_homomorphisms.rs:349
Method
append_message_without_static_label
(&mut self, label: &[u8], bytes: &[u8])
utils/src/transcript.rs:87
Method
append_without_static_label
(&mut self, label: &[u8], element: &S)
utils/src/transcript.rs:74
Method
as_ref
(&self)
vb_accumulator/src/witness.rs:468
Method
as_ref
(&self)
vb_accumulator/src/setup_keyed_verification.rs:47
Function
average_12
()
legogroth16/src/circom/tests.rs:1067
Function
average_12_less_than_public
()
legogroth16/src/circom/tests.rs:1095
Function
average_24
()
legogroth16/src/circom/tests.rs:1081
Function
average_24_less_than_public
()
legogroth16/src/circom/tests.rs:1109
Function
average_n
(r1cs_file_path: &str, wasm_file_path: &str, n: u32)
legogroth16/src/circom/tests.rs:553
Function
average_n_less_than_public
(r1cs_file_path: &str, wasm_file_path: &str, n: u32)
legogroth16/src/circom/tests.rs:578
Function
avg
(total: Duration)
legogroth16/tests/mimc.rs:280
Function
baghery_verifiable_secret_sharing
()
secret_sharing_and_dkg/src/baghery_vss.rs:136
Function
base_digits
()
smc_range_proof/src/common.rs:159
Method
base_for_b
commitment - (G * v)
schnorr_pok/src/inequality.rs:218
Function
base_ot_pairwise
()
oblivious_transfer/src/ot_based_multiplication/base_ot_multi_party_pairwise.rs:357
Method
bases
Produces an iterator of bases for `g * o + \sum_{i}(h_{i} * m_{i})` used in `multi_scalar_mul`.
coconut/src/proof/messages_pok/multi_message_commitment.rs:49
Method
bases
Produces an iterator of bases for `\sum_{j}(beta_tilde_{j} * m_{l}{j} + g_tilde * r_{l})` used in `multi_scalar_mul`.
coconut/src/proof/signature_pok/k.rs:54
Method
bases_exps
Produces an iterator of bases and scalars for `g * o + \sum_{i}(h_{i} * m_{i})` used in `multi_scalar_mul`.
coconut/src/proof/messages_pok/multi_message_commitment.rs:57
Method
bases_exps
Produces an iterator of bases and scalars for `\sum_{j}(beta_tilde_{j} * m_{l}{j} + g_tilde * r_{l})` used in `multi_scalar_mul`.
coconut/src/proof/signature_pok/k.rs:65
Method
bases_exps
Produces parallel iterator of bases and scalars groups `g * o_{j} + h * m_{j}` each used in `multi_scalar_mul`.
coconut/src/signature/message_commitment.rs:65
Function
basic
()
utils/src/extend_some.rs:62
Function
basic
()
utils/src/randomized_mult_checker.rs:137
Function
basic
()
coconut/src/proof/messages_pok/mod.rs:223
Function
basic
()
coconut/src/proof/signature_pok/mod.rs:167
Function
basic_keygen
()
coconut/src/setup/keygen/shamir_ss.rs:64
Function
basic_workflow
()
coconut/src/signature/aggregated_signature.rs:90
Function
batch
(c: &mut Criterion)
benches/benches/universal_accumulator.rs:13
Function
batch
(c: &mut Criterion)
benches/benches/positive_accumulator.rs:14
Method
batch_check
( mut batch: impl Iterator<Item = &'a Self> + Send, )
utils/src/owned_pairs.rs:212
Function
batch_commitment_verification
()
saver/src/encryption.rs:1181
Function
batch_multiplication
(c: &mut Criterion)
benches/benches/dkls19_batch_mul_2p.rs:17
Method
batch_size
(&self)
utils/src/elgamal.rs:263
Function
batch_update_and_membership
()
vb_accumulator/src/universal.rs:924
Function
batch_update_and_membership
()
vb_accumulator/src/positive.rs:702
Function
batch_update_and_membership
()
vb_accumulator/src/kb_universal_accumulator/accumulator.rs:600
Function
batch_update_and_membership
()
vb_accumulator/src/kb_positive_accumulator/adaptive_accumulator.rs:349
Function
batch_update_and_membership
()
vb_accumulator/src/kb_positive_accumulator/non_adaptive_accumulator.rs:184
Method
batch_updates
Add and removes batches of elements. Returns the new accumulator value and the membership witnesses of the added batch.
vb_accumulator/src/kb_positive_accumulator/adaptive_accumulator.rs:131
Function
batch_updates_witnesses
()
vb_accumulator/src/kb_positive_accumulator/witness.rs:219
Function
batch_updates_witnesses_kb_universal_accumulator
()
vb_accumulator/src/kb_universal_accumulator/witness.rs:819
Function
batch_updates_witnesses_positive_accumulator
()
vb_accumulator/src/witness.rs:1073
Function
batch_updates_witnesses_universal_accumulator
()
vb_accumulator/src/witness.rs:1757
Function
bbs_plus_verifiably_encrypt_many_messages
()
saver/src/tests.rs:324
Function
bbs_plus_verifiably_encrypt_message
()
saver/src/tests.rs:67
Function
bbs_plus_verifiably_encrypt_message_from_2_sigs
()
saver/src/tests.rs:712
Function
bbs_sharp_with_keyed_accumulator
()
vb_accumulator/src/tests.rs:27
Function
big_int_to_ark_fr
(big_int: BigInt)
legogroth16/src/circom/witness.rs:305
Function
bitwise_and
(a: &BigInt<LIMBS>, b: &BigInt<LIMBS>)
equality_across_groups/src/util.rs:3
Function
blind_bbs_plus_sig_and_message_equality
()
proof_system/tests/blind_bbs_plus_sig_and_message_equality.rs:25
Function
blind_issuance
()
kvac/src/bbdt_2016/mac.rs:254
Method
blind_message_with
Blinds given `message` using supplied `blinding`.
utils/src/signature.rs:29
Method
blind_message_with
Blinds given `message` using supplied `blinding`.
coconut/src/proof/mod.rs:58
Function
bn_254
()
legogroth16/src/circom/r1cs_reader.rs:284
Function
bound_check_statement_validity
()
proof_system/src/statement/bound_check_legogroth16.rs:146
Method
build_blindings_map
Build a map of blindings for witnesses of given the statement index. The key is the witness index and value is the blinding. Also removes that blindin
proof_system/src/prover.rs:284
Method
build_if_equal
(left: &'left [Left], right: &'right [Right])
utils/src/pairs.rs:127
Function
calculate_Q_and_Y
Q = A + \sum_{i}(P_i * c^i) Y = t + \sum_{i}(Y_i * c^i)
compressed_sigma/src/amortized_homomorphism.rs:167
Function
cannot_compute_lagrange_basis_at_0_with_0_as_x_coordinate
()
secret_sharing_and_dkg/src/common.rs:485
Method
challenge_byte_size
ceil(CHALLENGE_BIT_SIZE/8)
equality_across_groups/src/eq_across_groups.rs:458
Method
challenge_bytes_without_static_label
(&mut self, label: &[u8], dest: &mut [u8])
utils/src/transcript.rs:96
Method
challenge_contribution
(&self, writer: W)
proof_system/src/sub_protocols/bbdt16_kvac.rs:102
Method
challenge_contribution
Generate challenge contribution for the Schnorr protocol
proof_system/src/sub_protocols/bound_check_legogroth16.rs:140
Method
challenge_contribution
(&self, mut writer: W)
proof_system/src/sub_protocols/schnorr.rs:76
Method
challenge_contribution
(&self, writer: W)
proof_system/src/sub_protocols/ps_signature.rs:99
← previous
next →
1,101–1,200 of 2,782, ranked by callers