Class KeyChainDekOptions
Options to generate the derived encryption key.
Inherited Members
Namespace: Ipfs.Engine.Cryptography
Assembly: Ipfs.Engine.dll
Syntax
public class KeyChainDekOptions
Properties
| Improve this Doc View SourceHash
The name of the hashing function.
Declaration
public string Hash { get; set; }
Property Value
Type | Description |
---|---|
String | One of the known HashingAlgorithm names. Defaults to "sha2-512". |
IterationCount
The number of iterations desired
Declaration
public int IterationCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 | Defaults to 10,000. |
KeyLength
The desired length of the derived key
Declaration
public int KeyLength { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The length in bytes. Defaults to 512. |
Salt
Some random data for the Hash.
Declaration
public string Salt { get; set; }
Property Value
Type | Description |
---|---|
String |