{"id":22938421,"url":"https://github.com/jacraig/hashbrowns","last_synced_at":"2025-08-12T18:33:21.474Z","repository":{"id":141486531,"uuid":"156425408","full_name":"JaCraig/HashBrowns","owner":"JaCraig","description":"A library to help simplify encryption within .Net.","archived":false,"fork":false,"pushed_at":"2024-10-29T08:32:14.000Z","size":18557,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T09:31:19.235Z","etag":null,"topics":["encryption"],"latest_commit_sha":null,"homepage":"https://jacraig.github.io/HashBrowns/","language":"C#","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/JaCraig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T17:59:18.000Z","updated_at":"2024-10-29T08:32:18.000Z","dependencies_parsed_at":"2023-10-12T19:42:13.990Z","dependency_job_id":"1962a61c-92af-4bb8-bde0-7f84b4115fa3","html_url":"https://github.com/JaCraig/HashBrowns","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaCraig%2FHashBrowns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaCraig%2FHashBrowns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaCraig%2FHashBrowns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaCraig%2FHashBrowns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaCraig","download_url":"https://codeload.github.com/JaCraig/HashBrowns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229700217,"owners_count":18109937,"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":["encryption"],"created_at":"2024-12-14T12:17:53.927Z","updated_at":"2024-12-14T12:17:54.601Z","avatar_url":"https://github.com/JaCraig.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HashBrowns\n\n[![.NET Publish](https://github.com/JaCraig/HashBrowns/actions/workflows/dotnet-publish.yml/badge.svg)](https://github.com/JaCraig/HashBrowns/actions/workflows/dotnet-publish.yml)\n\nHashBrowns is a library to help simplify encryption within .Net.\n\n## Basic Usage\n\nTo use the library you first need to set up things on the ServiceCollection. Thankfully this only takes one call to do:\n\n    serviceCollection.RegisterHashBrowns();\n\t\t\t\t\t\nThis is required prior to using the CryptoManager or extension methods class for the first time. Once it is set up, you can use the CryptoManager class after getting an instance from the IoC container:\n\n    var Instance = cryptoManagerInstance.Encrypt(...);\n\t\nHowever instead of having the IoC container create the class, you can also use the extension methods found in the HashBrowns namespace:\n\n    var EncryptedData = \"My string that I want to encrypt\".Encrypt(Key, Salt, HashingAlgorithm, NumberIterations, InitialVector, KeySize, EncryptionAlgorithm);\n\nSimilarly you can decrypt:\n\n    var DecryptedData = EncryptedData.Decrypt(Key, Salt, HashingAlgorithm, NumberIterations, InitialVector, KeySize, EncryptionAlgorithm);\n\nAlso hashing is available:\n\n    var MyHashedValue = \"Example data\".Hash(HashingAlgorithm);\n\n## Installation\n\nThe library is available via Nuget with the package name \"HashBrowns\". To install it run the following command in the Package Manager Console:\n\nInstall-Package HashBrowns\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacraig%2Fhashbrowns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacraig%2Fhashbrowns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacraig%2Fhashbrowns/lists"}