{"id":16829320,"url":"https://github.com/leereilly/classified-ipsum","last_synced_at":"2025-03-22T04:30:32.276Z","repository":{"id":7106453,"uuid":"8399201","full_name":"leereilly/classified-ipsum","owner":"leereilly","description":":black_large_square: Classified text? No problem! Sanitize it with ██████ ███ or redact it with [REDACTED]","archived":false,"fork":false,"pushed_at":"2014-03-01T14:32:53.000Z","size":162,"stargazers_count":31,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T08:02:41.942Z","etag":null,"topics":["humor","lulz","redaction","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leereilly.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}},"created_at":"2013-02-25T00:14:19.000Z","updated_at":"2025-03-13T10:53:03.000Z","dependencies_parsed_at":"2022-09-16T18:00:21.853Z","dependency_job_id":null,"html_url":"https://github.com/leereilly/classified-ipsum","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leereilly%2Fclassified-ipsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leereilly%2Fclassified-ipsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leereilly%2Fclassified-ipsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leereilly%2Fclassified-ipsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leereilly","download_url":"https://codeload.github.com/leereilly/classified-ipsum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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":["humor","lulz","redaction","ruby-gem"],"created_at":"2024-10-13T11:32:33.276Z","updated_at":"2025-03-22T04:30:31.852Z","avatar_url":"https://github.com/leereilly.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sanitize or redact your Ruby strings!\n\nE.g. the [lorem ipsum text](http://en.wikipedia.org/wiki/Lorem_ipsum) fully sanitized looks like this:\n\n█████ █████ █████ ███ ████, ███████████ ███████████ ████, ███ ██ ███████ ██████ ██████████ ██ ██████ ██ ██████ █████ ██████. ██ ████ ██ █████ ██████, ████ ███████ ████████████ ███████ ███████ ████ ██ ███████ ██ ██ ███████ █████████. ████ ████ █████ █████ ██ █████████████ ██ █████████ █████ ████ ██████ ██████ ██ ██████ █████ ████████. █████████ ████ ████████ █████████ ███ ████████, ████ ██ █████ ███ ███████ ████████ ██████ ████ ██ ███ ███████.\n\n\n# Usage\n\n```ruby\n\"Deploy all ground assets to Northern Theater.\".sanitize\n# =\u003e ██████ ███ ██████ ███████ ██ ████████ ███████.\n```\n\n```ruby\n\"Engage any combatants using IE.\".redact\n# =\u003e [REDACTED] [REDACTED] [REDACTED] [REDACTED] [REDACTED].\n```\n\n**Sanitization** is the process of removing sensitive information from a document or other medium, so that it may be distributed to a broader audience. When dealing with classified information, sanitization attempts to reduce the document's classification level, possibly yielding an unclassified document. Originally, the term sanitization was applied to printed documents; it has since been extended to apply to computer media and the problem of data remanence as well.\n\n**Redaction** generally refers to the editing or blacking out of text in a document, or to the result of such an effort. It is intended to allow the selective disclosure of information in a document while keeping other parts of the document secret. Typically the result is a document that is suitable for publication, or for dissemination to others than the intended audience of the original document. For example, when a document is subpoenaed in a court case, information not specifically relevant to the case at hand is often redacted.\n\n![](http://i.imgur.com/3Oxkz6H.png)\n\n# License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleereilly%2Fclassified-ipsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleereilly%2Fclassified-ipsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleereilly%2Fclassified-ipsum/lists"}