Commit 6f41444 1 parent a7e98d2 commit 6f41444 Copy full SHA for 6f41444
File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,27 @@ An implementation of IPasswordHasher<TUser> using [Scrypt.NET](https://github.co
6
6
7
7
## Installation
8
8
9
- ```
9
+ ``` csharp
10
10
services .AddIdentity <TUser , TRole >();
11
11
services .AddScoped <IPasswordHasher <TUser >, ScryptPasswordHasher <TUser >>();
12
12
```
13
13
14
14
### Options
15
15
16
- - ** IterationCount** : int
17
- - ** BlockSize** : int
18
- - ** ThreadCount** : int
16
+ - ** IterationCount** : int
17
+ - ** BlockSize** : int
18
+ - ** ThreadCount** : int
19
19
20
20
Register with:
21
- ```
21
+
22
+ ``` csharp
22
23
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 ;
26
27
});
27
28
```
29
+
30
+ ## .NET Support
31
+
32
+ This library supports Current and LTS versions of .NET.
You can’t perform that action at this time.
0 commit comments