类 StringFogImpl

java.lang.Object
com.github.megatronking.stringfog.xor.StringFogImpl
所有已实现的接口:
com.github.megatronking.stringfog.IStringFog

public final class StringFogImpl extends Object implements com.github.megatronking.stringfog.IStringFog
StringFog xor encrypt and decrypt implementation.
从以下版本开始:
2018/9/2 14:34
  • 构造器详细资料

    • StringFogImpl

      public StringFogImpl()
  • 方法详细资料

    • encrypt

      public byte[] encrypt(String data, byte[] key)
      指定者:
      encrypt 在接口中 com.github.megatronking.stringfog.IStringFog
    • decrypt

      public String decrypt(byte[] data, byte[] key)
      指定者:
      decrypt 在接口中 com.github.megatronking.stringfog.IStringFog
    • shouldFog

      public boolean shouldFog(String data)
      指定者:
      shouldFog 在接口中 com.github.megatronking.stringfog.IStringFog