上一页 1 ··· 54 55 56 57 58
摘要: 内容 在数论中,欧拉定理,(也称费马-欧拉定理)是一个关于同余的性质。欧拉定理表明,若n,a为正整数,且n,a互质,则: 证明 将1~n中与n互质的数按顺序排布:x1,x2……xφ(n) (显然,共有φ(n)个数) 我们考虑这么一些数: m1=a*x1;m2=a*x2;m3=a*x3……mφ(n)= 阅读全文
posted @ 2020-03-17 11:04 zJanly 阅读(1599) 评论(0) 推荐(0)
摘要: TARGET = libeay32sTEMPLATE = appCONFIG += consoleDESTDIR += ../appINCLUDEPATH += ./include/openssl ./include/build ./includeDEFINES += OPENSSL_NO_STAT 阅读全文
posted @ 2020-03-17 10:49 zJanly 阅读(144) 评论(0) 推荐(0)
摘要: #include "bn.h"int main(int argc, char *argv[]){ BN_CTX *ctx = BN_CTX_new(); //BN_CTX_start(ctx); auto a= BN_CTX_get(ctx); a->neg = -1; BN_set_word(a, 阅读全文
posted @ 2020-03-17 10:48 zJanly 阅读(263) 评论(0) 推荐(0)
摘要: https://search.maven.org/artifact/org.bouncycastle/bcprov-jdk18on/1.72/jar https://mvnrepository.com/artifact/org.hyperledger.fabric-sdk-java/fabric-s 阅读全文
posted @ 2020-03-08 16:29 zJanly 阅读(110) 评论(0) 推荐(0)
摘要: import java.io.File;import java.io.FileInputStream;import java.io.IOException;import java.io.Reader;import java.io.Serializable;import java.io.StringR 阅读全文
posted @ 2020-03-08 16:26 zJanly 阅读(457) 评论(0) 推荐(0)
摘要: package xuliehua;import java.io.Serializable;public class S implements Serializable{ private String name; private int age; public String getName() { r 阅读全文
posted @ 2020-03-08 16:25 zJanly 阅读(186) 评论(0) 推荐(0)
摘要: #include "signal.h"#if (SIGHUP == 1) && (SIGINT == 2) && (SIGQUIT == 3) && (SIGILL == 4) \ && (SIGTRAP == 5) && (SIGABRT == 6) && (SIGBUS == 7) && (SI 阅读全文
posted @ 2020-03-08 11:37 zJanly 阅读(203) 评论(0) 推荐(0)
摘要: struct A{ void f(){ } void f() const{ }};struct B{ B (A& a) : a(a) {} void f1(){ a.f(); } void f1() const{ a.f(); } A &a;};int main(int argc, char *ar 阅读全文
posted @ 2020-03-06 22:20 zJanly 阅读(119) 评论(0) 推荐(0)
摘要: struct A{ void f(){ } void f() const{ }};struct B{ void f1(){ a->f(); } void f1() const{ a->f(); } A *a;};int main(int argc, char *argv[]){ A a; B b; 阅读全文
posted @ 2020-03-06 22:17 zJanly 阅读(103) 评论(0) 推荐(0)
上一页 1 ··· 54 55 56 57 58