public interface CryptoFactory
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(String key,
byte[] content)
解密
|
byte[] |
encrypt(String key,
byte[] content)
加密
|
byte[] encrypt(String key, byte[] content) throws RuntimeException
key - 密钥content - 需要加密的内容RuntimeException - RuntimeExceptionbyte[] decrypt(String key, byte[] content) throws RuntimeException
key - 密钥content - 需要解密的内容RuntimeException - RuntimeExceptionCopyright © 2019. All rights reserved.