摘要: static { try { SIGNATURE = Signature.getInstance("SHA1withRSA", "BC"); } catch (NoSuchAlgorithmException | NoSuchPaddingException | NoSuchProviderException e) { throw Throwabl... 阅读全文
posted @ 2018-03-12 11:48 FrankYou 阅读(13674) 评论(0) 推荐(0)
摘要: private static final Cipher DES_CIPHER; static { try { DES_CIPHER = Cipher.getInstance("DES/ECB/PKCS1Padding"); } catch (NoSuchAlgorithmException | NoSuchPaddingException e) { ... 阅读全文
posted @ 2018-03-12 11:06 FrankYou 阅读(3780) 评论(1) 推荐(0)