{"id":14980418,"url":"https://github.com/webmd-health-services/carbon.cryptography","last_synced_at":"2025-10-15T19:40:24.204Z","repository":{"id":42173195,"uuid":"333611259","full_name":"webmd-health-services/Carbon.Cryptography","owner":"webmd-health-services","description":"Cross-platform PowerShell module that makes encrypting and decrypting strings (using standard cryptographic algorithms) and managing certificates easy. ","archived":false,"fork":false,"pushed_at":"2025-07-29T19:55:59.000Z","size":358,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-11T07:19:55.353Z","etag":null,"topics":["aes-crypto","aes-encryption","certificates","cryptography","dpapi","powershell","powershell-core","powershell-module","rsa-cryptography","rsa-encryption","securestring","security","x509","x509certificates"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/webmd-health-services.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-28T01:34:47.000Z","updated_at":"2025-08-17T19:56:54.000Z","dependencies_parsed_at":"2023-02-14T12:20:20.708Z","dependency_job_id":"c17abdc0-db04-46f1-847e-855d36145d81","html_url":"https://github.com/webmd-health-services/Carbon.Cryptography","commit_stats":{"total_commits":93,"total_committers":4,"mean_commits":23.25,"dds":"0.22580645161290325","last_synced_commit":"305b027848d37d780e81ae52d4aadbbddd7c1bf1"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":"webmd-health-services/Template-PSModule-OSS-Apache2.0-AppVeyor","purl":"pkg:github/webmd-health-services/Carbon.Cryptography","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmd-health-services%2FCarbon.Cryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmd-health-services%2FCarbon.Cryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmd-health-services%2FCarbon.Cryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmd-health-services%2FCarbon.Cryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmd-health-services","download_url":"https://codeload.github.com/webmd-health-services/Carbon.Cryptography/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmd-health-services%2FCarbon.Cryptography/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279108297,"owners_count":26105498,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aes-crypto","aes-encryption","certificates","cryptography","dpapi","powershell","powershell-core","powershell-module","rsa-cryptography","rsa-encryption","securestring","security","x509","x509certificates"],"created_at":"2024-09-24T14:01:44.536Z","updated_at":"2025-10-15T19:40:24.152Z","avatar_url":"https://github.com/webmd-health-services.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carbon.Cryptography\r\n\r\n## Overview\r\n\r\nThe \"Carbon.Cryptography\" module has functions that help manage X509 certificates and working with secure strings.\r\n\r\nIt started out as part of the [Carbon](http://get-carbon.org) module. But when that module become too big and unwieldy,\r\nits security-related functionality was moved into this module.\r\n\r\n## System Requirements\r\n\r\n* Windows PowerShell 5.1 and .NET 4.6.1+\r\n* PowerShell Core 6+\r\n\r\n## Dependencies\r\n\r\nCarbon.Cryptography has a private, nested dependency on PureInvoke 1.0.1.\r\n\r\n## Installing\r\n\r\nTo install globally:\r\n\r\n```powershell\r\nInstall-Module -Name 'Carbon.Cryptography'\r\nImport-Module -Name 'Carbon.Cryptography'\r\n```\r\n\r\nTo install privately:\r\n\r\n```powershell\r\nSave-Module -Name 'Carbon.Cryptography' -Path '.'\r\nImport-Module -Name '.\\Carbon.Cryptography'\r\n```\r\n\r\n## Commands\r\n\r\n* `Convert-CSecureStringToByte`: converts a secure string into an array of bytes (that can be easily cleared from from\r\nmemory, unlike strings, who hang out forever).\r\n* `Convert-CSecureStringToString`: converts secure strings to strings.\r\n* `Get-CCertificate`: reads X509 certificates from files or, on Windows, from the Windows certificate stores.\r\n* `Install-CCertificate`: Installs X509 certificates into the Windows certificate store.\r\n* `Protect-CString`: Encrypt a string using the Windows Data Protection API (DPAPI; Windows only), public/private key\r\ncryptography, or symmetric cryptography.\r\n* `Uninstall-CCertificate`: Removes X509 certificates from the Windows certificate store.\r\n* `Unprotect-CFileToken`: Finds and decrypts all encrypted tokens within a file which were encrypted with `Protect-CString`.\r\n* `Unprotect-CString`: Decrypt a string that was encrypted with `Protect-CString`.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmd-health-services%2Fcarbon.cryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmd-health-services%2Fcarbon.cryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmd-health-services%2Fcarbon.cryptography/lists"}