code: public String obfuscate(char[] masterKey, byte[] data, int version) {
          Objects.requireNonNull(masterKey);
          Objects.requireNonNull(data);
          switch (version) {
              case 1:
                  return v1Obfuscator.obfuscate(masterKey, data).toString();
              default:
                  throw new IllegalArgumentException("Unsupported version: " + version);
          }
      }
docs: Obfuscate data using supplied master key and algorithm version.
  
  @param masterKey master key to use for obfuscation
  @param data      data to obfuscate
  @param version   obfuscation algorithm version to use
  
  @return string containing obfuscated data; use {@link #unObfuscate} to get secret data from this string