{"id":17932883,"url":"https://github.com/furkandeveloper/entityframeworkcore.dataencryption","last_synced_at":"2025-07-06T15:37:34.515Z","repository":{"id":103665724,"uuid":"490294152","full_name":"furkandeveloper/EntityFrameworkCore.DataEncryption","owner":"furkandeveloper","description":"This package is a plugin that adds data encryption support to EF Core.","archived":false,"fork":false,"pushed_at":"2022-05-31T08:02:07.000Z","size":76,"stargazers_count":22,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T02:59:02.240Z","etag":null,"topics":["data-encryption","ef-core","encryption","entity-framework-core"],"latest_commit_sha":null,"homepage":"","language":"C#","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/furkandeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-05-09T13:25:40.000Z","updated_at":"2024-08-09T08:18:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7804c79-afa0-4a95-9700-602ebff58185","html_url":"https://github.com/furkandeveloper/EntityFrameworkCore.DataEncryption","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/furkandeveloper%2FEntityFrameworkCore.DataEncryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkandeveloper%2FEntityFrameworkCore.DataEncryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkandeveloper%2FEntityFrameworkCore.DataEncryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkandeveloper%2FEntityFrameworkCore.DataEncryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/furkandeveloper","download_url":"https://codeload.github.com/furkandeveloper/EntityFrameworkCore.DataEncryption/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245222583,"owners_count":20580190,"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":["data-encryption","ef-core","encryption","entity-framework-core"],"created_at":"2024-10-28T21:32:44.746Z","updated_at":"2025-07-06T15:37:34.502Z","avatar_url":"https://github.com/furkandeveloper.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/47147484/168492480-206b432f-0d3f-4ee7-9ecf-19df9f7973b6.png\" style=\"max-width:100%;\" height=\"140\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gitmoji.carloscuesta.me\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square\" alt=\"Gitmoji\"\u003e\n  \u003c/a\u003e \n\u003c/p\u003e\n\n***\n\n## Give a Star 🌟\nIf you liked the project or if **EntityFrameworkCore.DataEncryption** helped you, please give a star.\n\n***\n\n### Purpose\n**EntityFrameworkCore.DataEncryption** with the entity framework core value converter feature, it allows you to store your data by encrypting it.\n\n***\n\n### Summary\n\n```\nInstall-Package EntityFrameworkCore.DataEncryption.Conversions\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/47147484/169529159-8f400ad7-922b-43f3-867f-4eeb93aa724b.png\" style=\"max-width:100%;\" height=\"40\" /\u003e\n\u003c/p\u003e\n\nThen mark the columns to be encrypted in DbContext.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/47147484/169529159-8f400ad7-922b-43f3-867f-4eeb93aa724b.png\" style=\"max-width:100%;\" height=\"40\" /\u003e\n\u003c/p\u003e\n\n```csharp\nprotected override void OnModelCreating(ModelBuilder modelBuilder)\n{\n    modelBuilder.Entity\u003cAuthor\u003e(entity =\u003e\n    {\n        entity\n            .Property(p =\u003e p.Id)\n            .UseIdentityColumn();\n        entity\n            .Property(p =\u003e p.Name)\n            .IsRequired()\n            .HasMaxLength(2048);\n        \n        entity\n            .Property(p =\u003e p.Surname)\n            .IsRequired()\n            .HasMaxLength(2048);\n        entity\n            .Property(p =\u003e p.Phone)\n            .IsRequired()\n            .HasConversion(new EncryptValueConverter(key:\"89acMXSBpuEBDWHZ\"));\n    });\n    base.OnModelCreating(modelBuilder);\n}\n```\n\n***\n\n### Documentation\nVisit wiki documentation. [Wiki](https://github.com/furkandeveloper/EntityFrameworkCore.DataEncryption/wiki)\n\n***\n\n### Sample Project\n\nSee for more information visit [sample project](https://github.com/furkandeveloper/EntityFrameworkCore.DataEncryption/tree/master/sample/EntityFrameworkCore.DataEncryption.Sample)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkandeveloper%2Fentityframeworkcore.dataencryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurkandeveloper%2Fentityframeworkcore.dataencryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkandeveloper%2Fentityframeworkcore.dataencryption/lists"}