{"id":20741120,"url":"https://github.com/robtimus/obfuscation-http","last_synced_at":"2025-10-18T13:59:20.425Z","repository":{"id":57722470,"uuid":"260905151","full_name":"robtimus/obfuscation-http","owner":"robtimus","description":"Provides functionality for obfuscating HTTP requests and responses","archived":false,"fork":false,"pushed_at":"2024-01-20T12:52:53.000Z","size":458,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T06:41:45.055Z","etag":null,"topics":["http","java","obfuscation"],"latest_commit_sha":null,"homepage":"https://robtimus.github.io/obfuscation-http","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robtimus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T12:05:30.000Z","updated_at":"2024-07-08T19:40:49.000Z","dependencies_parsed_at":"2023-02-16T21:15:53.724Z","dependency_job_id":"ed797eb3-8e1b-4dde-b64e-58bb824006ad","html_url":"https://github.com/robtimus/obfuscation-http","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robtimus%2Fobfuscation-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robtimus%2Fobfuscation-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robtimus%2Fobfuscation-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robtimus%2Fobfuscation-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robtimus","download_url":"https://codeload.github.com/robtimus/obfuscation-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234452031,"owners_count":18834739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","java","obfuscation"],"created_at":"2024-11-17T06:33:55.998Z","updated_at":"2025-09-27T18:31:13.955Z","avatar_url":"https://github.com/robtimus.png","language":"Java","readme":"# obfuscation-http\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.robtimus/obfuscation-http)](https://search.maven.org/artifact/com.github.robtimus/obfuscation-http)\n[![Build Status](https://github.com/robtimus/obfuscation-http/actions/workflows/build.yml/badge.svg)](https://github.com/robtimus/obfuscation-http/actions/workflows/build.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.github.robtimus%3Aobfuscation-http\u0026metric=alert_status)](https://sonarcloud.io/summary/overall?id=com.github.robtimus%3Aobfuscation-http)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.github.robtimus%3Aobfuscation-http\u0026metric=coverage)](https://sonarcloud.io/summary/overall?id=com.github.robtimus%3Aobfuscation-http)\n[![Known Vulnerabilities](https://snyk.io/test/github/robtimus/obfuscation-http/badge.svg)](https://snyk.io/test/github/robtimus/obfuscation-http)\n\nProvides 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.\n\n## Obfuscating request parameters\n\nTo create a request parameter obfuscator, simply create a builder, add parameters to it, and let it build the final obfuscator:\n\n```java\nRequestParameterObfuscator obfuscator = RequestParameterObfuscator.builder()\n        .withParameter(\"password\", Obfuscator.fixedLength(3))\n        .build();\n```\n\n## Obfuscating headers\n\nTo create a header obfuscator, simply create a builder, add headers to it, and let it build the final obfuscator:\n\n```java\nHeaderObfuscator obfuscator = HeaderObfuscator.builder()\n        .withHeader(\"authorization\", Obfuscator.fixedLength(3))\n        .build();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobtimus%2Fobfuscation-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobtimus%2Fobfuscation-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobtimus%2Fobfuscation-http/lists"}