com.jn.langx.security..docs.cipher.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langx-java Show documentation
Show all versions of langx-java Show documentation
Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang.
Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...
# Cipher (加密运算)
Cipher 提供了采用SecretKey, Private Key, Public Key等 进行加密、解密、包装、解包装等操作。
```
创建实例:
getInstance(String transformation, String provider)
第一个参数transformation通过包括3个部分组成:algorithmName/algorithmMode/algorithmPadding
这三部分的可取值参考这里:
https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#Cipher
```