Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.github.robtimus:obfuscation-http

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.robtimus:obfuscation-http

Provides functionality for obfuscating HTTP requests and responses

  • 1.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

obfuscation-http

Provides functionality for obfuscating HTTP requests and responses. This can be useful for logging such requests/responses, where sensitive content should not be logged as-is.

Obfuscating request parameters

To create a request parameter obfuscator, simply create a builder, add parameters to it, and let it build the final obfuscator:

RequestParameterObfuscator obfuscator = RequestParameterObfuscator.builder()
        .withParameter("password", Obfuscator.fixedLength(3))
        .build();

Obfuscating headers

To create a header obfuscator, simply create a builder, add headers to it, and let it build the final obfuscator:

HeaderObfuscator obfuscator = HeaderObfuscator.builder()
        .withHeader("authorization", Obfuscator.fixedLength(3))
        .build();

FAQs

Package last updated on 16 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc