Appendix: Encryption Algorithms Supported by the JDK
Digest Algorithm
Algorithm Name |
Algorithm |
Hash Length |
Remarks |
---|---|---|---|
MD |
MD2 |
128 |
- |
MD5 |
128 |
- |
|
SHA |
SHA-1 |
160 |
- |
SHA-256 |
256 |
- |
|
SHA-384 |
384 |
- |
|
SHA-512 |
512 |
- |
|
HMAC |
HmacMD5 |
128 |
- |
HmacSHA1 |
160 |
- |
|
HmacSHA256 |
256 |
- |
|
HmacSHA384 |
384 |
- |
|
HmacSHA512 |
512 |
- |
Symmetric Encryption Algorithm
Algorithm Name |
Key Length |
Default Length |
Work Mode |
Padding Mode |
Remarks |
---|---|---|---|---|---|
DES |
56 |
56 |
ECB, CBC, PCBC, CTR, CTS, CFB, CFB8 to 128, OFB, and OFB8 to 128 |
NoPadding, PKCS5Padding, and ISO10126Padding |
- |
3DES |
112 or 168 |
168 |
ECB, CBC, PCBC, CTR, CTS, CFB, CFB8 to 128, OFB, and OFB8 to 128 |
NoPadding, PKCS5Padding, and ISO10126Padding |
- |
AES |
128, 192, or 256 |
128 |
ECB, CBC, PCBC, CTR, CTS, CFB, CFB8 to 128, OFB, and OFB8 to 128 |
NoPadding, PKCS5Padding, and ISO10126Padding |
The 256-bit key needs to obtain the permission file without policy restriction. |
Asymmetric Encryption Algorithm
Algorithm Name |
Key Length |
Default Length |
Work Mode |
Padding Mode |
Remarks |
---|---|---|---|---|---|
DH |
512-1024 (a multiple of 64) |
1024 |
N/A |
N/A |
- |
Base64 is also supported by the JDK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot