testgnucrypto.java
来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· Java 代码 · 共 28 行
JAVA
28 行
import gnu.crypto.cipher.CipherFactory;import gnu.crypto.cipher.IBlockCipher;import java.util.Iterator;class TestGnuCrypto{ // default ctor public static final void main(String[] args) { String cipher; IBlockCipher algorithm; for (Iterator it = CipherFactory.getNames().iterator(); it.hasNext(); ) { cipher = (String) it.next(); try { algorithm = null; algorithm = CipherFactory.getInstance(cipher); } catch (InternalError x) { x.printStackTrace(System.err); } } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?