Skip to content

sanderxavalon/java-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-encryption

說明

大概就是把常見的演算法用實現一次這樣。 test資料夾內含有測試案例可供參考。

依賴

除原生API實現加密與編碼以外,依賴以下兩個Package:

    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.14</version>
    </dependency>
    <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcprov-jdk15to18</artifactId>
      <version>1.66</version>
    </dependency>

編碼與加密演算法

BASE64

實現:API, common-codec, bouncycastle

MessageDigest(消息摘要)

MD5, SHA, MAC實現:API, common-codec, bouncycastle

Symmetric(對稱加密)

AES, DES, DESede, PBE實現:API

Asymmetric(非對稱加密)

DH(Diffle-Hellman), RSA實現:API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages