Skip to content

Commit 3ca2f9d

Browse files
committed
update README.md
1 parent a85e13f commit 3ca2f9d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
`EntityFrameworkCore.DataProtection` is a [Microsoft Entity Framework Core](https://github.com/aspnet/EntityFrameworkCore) extension which
88
adds support for data protection and querying for encrypted properties for your entities.
99

10-
## What problem does this library solve?
10+
# What problem does this library solve?
1111

1212
When you need to store sensitive data in your database, you may want to encrypt it to protect it from unauthorized access, however, when you
1313
encrypt data, it becomes impossible to query it by EF-core, which is not really convenient if you want to encrypt, for example, email addresses, or SSNs
1414
AND then filter entities by them.
15-
This library (optionally) hashes the sensitive data and stores their sha256 hashes in a shadow property alongside the encrypted data.
16-
This allows you to query the encrypted data without decrypting it first. using `QueryableExt.WherePdEquals`
1715

18-
## Disclaimer
16+
This library has support for hashing the sensitive data and storing their (sha256) hashes in a shadow property alongside the encrypted data.
17+
This allows you to query for the encrypted properties without decrypting them first. using `QueryableExt.WherePdEquals`
18+
19+
# Disclaimer
1920

2021
This project is maintained by [one (10x) developer](https://github.com/ddjerqq) and is not affiliated with Microsoft.
2122

@@ -33,7 +34,7 @@ Keeping your encryption keys secure is your responsibility. If you lose your enc
3334
- string
3435
- byte[]
3536

36-
## Getting started
37+
# Getting started
3738

3839
### Installing the package
3940

0 commit comments

Comments
 (0)