⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elgamalparams.java

📁 jpeg2000编解码
💻 JAVA
字号:
/*// $Log: ElGamalParams.java,v $// Revision 1.1.1.1  2002/08/27 11:49:31  grosbois// Imported source from cryptix 3.2//// Revision 1.2  2000/08/17 11:35:28  edwin// Package move java.* -> xjava.*, which is needed for JDK 1.3 compatibility.// I had to break permission support even further to make this work (I don't// believe it was working in the first place, so it's not really a problem).//// Revision 1.1.1.1  1997/11/03 22:36:57  hopwood// + Imported to CVS (tagged as 'start').//// $Endlog$*/ package xjava.security.interfaces;import java.math.BigInteger;/** * Interface to an ElGamal-specific set of key parameters, which defines * an ElGamal <em>key family</em>. * <p> * The same key parameters apply to both the signature and encryption * algorithms. * <p> * <b>References</b> * <p> * <blockquote> *    <a href="mailto:schneier@counterpane.com">Bruce Schneier</a>, *    "Section 19.6 ElGamal," *    <cite>Applied Cryptography</cite>, *    Wiley 2nd Ed, 1996. * </blockquote> * * <p><b>$Revision: 1.1.1.1 $</b> * @author David Hopwood * @since  IJCE 1.0.1 * @see ElGamalKey * @see java.security.Key * @see java.security.Cipher * @see java.security.Signature */public interface ElGamalParams {    /**     * Returns the prime, <i>p</i>.     *      * @return the prime as a java.math.BigInteger     */    BigInteger getP();    /**     * Returns the base, <i>g</i>.     *      * @return the base as a java.math.BigInteger      */    BigInteger getG();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -