2007-08-27から1日間の記事一覧

実行結果

P = P(1,2) Q = Q(8,23) pairing for the two point 2P,Q 2P = P(91343852333181432387730302044767688728495783936,251195593916248939066258330623111144003363405825) online:true e(2P,Q) = 1 pairing for the two point P,2Q 2Q = Q(107747757761635564…

実行本体

package x3_1; import java.math.BigInteger; import java.security.spec.ECPoint; public class Pairing { static BigInteger px = new BigInteger("1"); static BigInteger py = new BigInteger("2"); static BigInteger qx = new BigInteger("8"); static…

楕円加算機

package x3_1; import java.math.BigInteger; import java.security.spec.ECPoint; //this is an adder for addition in the point of elictip carve //elictip curve is set for y^3=x^2+Ax+B public class Elictip_Adder { static BigInteger A, B, p; sta…

ミラーアルゴリズム

package x3_1; //miller's algorithm for pairing //using simplified miller's algorithm //2007.8.24 tyouiifan import java.math.BigInteger; import java.security.spec.ECPoint; public class Miller_Algorithm { static BigInteger A, B, p; // the va…

もうキレた!!

ペアリングプログラムのJavaソース上げる。