This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::lasso::surge::SparsePolyCommitmentGens; | |
use crate::subtables::and::AndSubtableStrategy; | |
use crate::{ | |
lasso::{densified::DensifiedRepresentation, surge::SparsePolynomialEvaluationProof}, | |
utils::random::RandomTape, | |
}; | |
use ark_curve25519::{EdwardsProjective, Fr}; | |
use ark_ff::PrimeField; | |
use ark_std::{log2, test_rng}; | |
use merlin::Transcript; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//tmp fix for the enter issue | |
function stopRKey(evt) { | |
var evt = (evt) ? evt : ((event) ? event : null); | |
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); | |
if ((evt.keyCode == 13) && (node.type=="text")) {return false;} | |
} | |
document.onkeypress = stopRKey; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script is to get source code examples and quick answers to questions | |
# from stack overflow. The user enters a keyword and the top three resuts are returned. | |
# I use on Pythonista for iphone | |
# - Wyatt Benno | |
import re | |
import sys | |
import urllib |