@Component public class CryptoUtil extends Object implements OpenJavaCrypto
| 构造器和说明 |
|---|
CryptoUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decryptString(String ciphertext)
解密字符串
|
String |
encryptString(String plaintext)
加密字符串
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecryptObject, encryptObjectpublic String encryptString(String plaintext)
encryptString 在接口中 OpenJavaCryptoplaintext - 明文public String decryptString(String ciphertext)
decryptString 在接口中 OpenJavaCryptociphertext - 密文Copyright © 2025. All rights reserved.