Location:
Search - java dsa
Search list
Description: 这是用java实现单向加密和非对称加密DSA数字签名的源程序-This source code is an implementation of one-way encryption and unbalanced DSA digital signature on java platform.
Platform: |
Size: 2047 |
Author: 夏珊 |
Hits:
Description: 这是用java实现单向加密和非对称加密DSA数字签名的源程序-This source code is an implementation of one-way encryption and unbalanced DSA digital signature on java platform.
Platform: |
Size: 2048 |
Author: 夏珊 |
Hits:
Description: Digital Signature Algorithm (DSA)是Schnorr和ElGamal签名算法的变种,被美国NIST作为DSS(DigitalSignature Standard)。算法中应用了下述参数:
p:L bits长的素数。L是64的倍数,范围是512到1024;
q:p - 1的160bits的素因子;
g:g = h^((p-1)/q) mod p,h满足h < p - 1, h^((p-1)/q) mod p > 1;
x:x < q,x为私钥 ;
y:y = g^x mod p ,( p, q, g, y )为公钥;
H( x ):One-Way Hash函数。DSS中选用SHA( Secure Hash Algorithm )。
p, q, g可由一组用户共享,但在实际应用中,使用公共模数可能会带来一定的威胁。签名及验证协议如下:
1. P产生随机数k,k < q;
2. P计算 r = ( g^k mod p ) mod q
s = ( k^(-1) (H(m) + xr)) mod q
签名结果是( m, r, s )。
3. 验证时计算 w = s^(-1)mod q
u1 = ( H( m ) * w ) mod q
u2 = ( r * w ) mod q
v = (( g^u1 * y^u2 ) mod p ) mod q
若v = r,则认为签名有效。
DSA是基于整数有限域离散对数难题的,其安全性与RSA相比差不多。DSA的一个重要特点是两个素数公开,这样,当使用别人的p和q时,即使不知道私钥,你也能确认它们是否是随机产生的,还是作了手脚。RSA算法却作不到。
Platform: |
Size: 136192 |
Author: wildkaede |
Hits:
Description: java写的DSA数字签名算法,是密码学中的典型算法-java wrote DSA Digital Signature Algorithm is Cryptography typical algorithm
Platform: |
Size: 8192 |
Author: 赵欢 |
Hits:
Description: DSA Algorithm with JAVA Applet
Platform: |
Size: 11264 |
Author: mizmiz |
Hits:
Description: 单向加密通常用于消息摘要,具体算法可以阅读java.security.*的源代码获得。经过封装之后可以使用简单的静态方法来实现,-One-way encryption is commonly used message digest, the specific algorithm can read java.security .* source code access. Through the package can then be used to implement a simple static method,
Platform: |
Size: 10240 |
Author: 龙 |
Hits:
Description: standard symmetric encryption algorithms DSA
Platform: |
Size: 670720 |
Author: Aleksander |
Hits:
Description: To the HighArray class in the highArray.java program (Listing 2.3), add a method called getMax() that returns the value of the highest key in the array, or –1 if the array is empty. Add some code in main() to exercise this method. You can assume all the keys are positive numbers
Platform: |
Size: 20480 |
Author: duc |
Hits:
Description: 数字签名 美国标准 DSA算法 java语言实现 完全可用-American Standard DSA digital signature algorithm java language fully available
Platform: |
Size: 1024 |
Author: fj |
Hits:
Description: 描述了多种常用加密算法的java代码,其中包括:des,3des,aes,rsa,dsa,md5,sha1.的具体实现。-Describes a variety of commonly used encryption algorithm java code, including: des, 3des, aes, rsa, dsa, md5, the sha1.
Platform: |
Size: 257024 |
Author: Leonardo |
Hits:
Description: A Basic DSA source code in Java
Platform: |
Size: 1024 |
Author: Yohan |
Hits:
Description: 用java实现dsa的签名算法,解决DSA签名的一些问题-java dsa signature
Platform: |
Size: 11264 |
Author: 闫 |
Hits:
Description: A few very important linked list implementations in java.
Platform: |
Size: 17408 |
Author: max planckinston |
Hits: