接口 IStringFog
- 所有已知实现类:
StringFogWrapper
public interface IStringFog
Interface of how to encrypt and decrypt a string.
- 从以下版本开始:
- 2018/9/20 16:15
-
方法概要
-
方法详细资料
-
encrypt
Encrypt the data by the special key.- 参数:
data- The original data.key- Encrypt key.- 返回:
- The encrypted data.
-
decrypt
Decrypt the data to origin by the special key.- 参数:
data- The encrypted data.key- Encrypt key.- 返回:
- The original data.
-
shouldFog
Whether the string should be encrypted.- 参数:
data- The original data.- 返回:
- If you want to skip this String, return false.
-