{"id":27968532,"url":"https://github.com/redsiege/clm-base64","last_synced_at":"2025-06-30T20:37:03.198Z","repository":{"id":78269012,"uuid":"153839355","full_name":"RedSiege/CLM-Base64","owner":"RedSiege","description":"This project provides Base64 encoding and decoding functionality to PowerShell within Constrained Language Mode","archived":false,"fork":false,"pushed_at":"2024-06-25T12:08:15.000Z","size":20,"stargazers_count":25,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T21:04:05.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedSiege.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-10-19T20:40:08.000Z","updated_at":"2025-03-24T01:40:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"962754d7-e6a4-4252-af89-c0019f23d1e5","html_url":"https://github.com/RedSiege/CLM-Base64","commit_stats":null,"previous_names":["redsiege/clm-base64"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2FCLM-Base64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2FCLM-Base64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2FCLM-Base64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2FCLM-Base64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedSiege","download_url":"https://codeload.github.com/RedSiege/CLM-Base64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830902,"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":[],"created_at":"2025-05-07T21:04:08.498Z","updated_at":"2025-05-07T21:04:09.078Z","avatar_url":"https://github.com/RedSiege.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLM-Base64\nThis project provides Base64 encoding and decoding functionality to PowerShell within Constrained Language Mode. Since this is constrained language mode compliant, it will also run in Full Language Mode.\n\nOne option users have is to provide an alternate alpahbet to use for Base64 encoding/decoding. This will allow the user to use a non-standard alphabet. The user-provided alphabet is validated prior to using it.\n\n...probably useful\n\n## ConvertTo-Base64\n\nThe ConvertTo-Base64 cmdlet will take a string, or a file, and base64 encode the provided data. If the -OutFile parameter is provided, then the results are saved to the provided file path. Otherwise, the results are displayed to the console.\n\n`ConvertTo-Base64 -String \"FortyNorth Security\"\nConvertTo-Base64 -FilePath C:\\temp\\pic.jpg -OutFile C:\\temp\\encodedpic.txt`\n\n## ConvertFrom-Base64\n\nThe ConvertFrom-Base64 cmdlet will take a string, or a file, and base64 decode the provided data. If the -OutFile parameter is provided, then the results are saved to the provided file path. Otherwise, the results are displayed to the console.\n\n`ConvertFrom-Base64 -String \"Rm9ydHlOb3J0aCBTZWN1cml0eQ==\"\nConvertFrom-Base64 -FilePath C:\\temp\\encodedpic.txt -OutFile C:\\temp\\pic.jpg`\n\n## Test-EncodingBase64\n\nThis function runs multiple tests to validate that the base64 decoding and encoding functions are properly working by testing the cmdlet results with known good base64 decoding and encoding functions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsiege%2Fclm-base64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredsiege%2Fclm-base64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsiege%2Fclm-base64/lists"}