Skip to content

Commit 6f41444

Browse files
authored
Update README.md
1 parent a7e98d2 commit 6f41444

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,27 @@ An implementation of IPasswordHasher<TUser> using [Scrypt.NET](https://github.co
66

77
## Installation
88

9-
```
9+
```csharp
1010
services.AddIdentity<TUser, TRole>();
1111
services.AddScoped<IPasswordHasher<TUser>, ScryptPasswordHasher<TUser>>();
1212
```
1313

1414
### Options
1515

16-
- **IterationCount**: int
17-
- **BlockSize**: int
18-
- **ThreadCount**: int
16+
- **IterationCount**: int
17+
- **BlockSize**: int
18+
- **ThreadCount**: int
1919

2020
Register with:
21-
```
21+
22+
```csharp
2223
services.Configure<ScryptPasswordHasherOptions>(options => {
23-
options.IterationCount = 16384;
24-
options.BlockSize = 8;
25-
options.ThreadCount = 1;
24+
options.IterationCount = 16384;
25+
options.BlockSize = 8;
26+
options.ThreadCount = 1;
2627
});
2728
```
29+
30+
## .NET Support
31+
32+
This library supports Current and LTS versions of .NET.

0 commit comments

Comments
 (0)