Show / Hide Table of Contents

Class KeyChainDekOptions

Options to generate the derived encryption key.

Inheritance
Object
KeyChainDekOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Ipfs.Engine.Cryptography
Assembly: Ipfs.Engine.dll
Syntax
public class KeyChainDekOptions

Properties

| Improve this Doc View Source

Hash

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".

| Improve this Doc View Source

IterationCount

The number of iterations desired

Declaration
public int IterationCount { get; set; }
Property Value
Type Description
Int32

Defaults to 10,000.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Salt

Some random data for the Hash.

Declaration
public string Salt { get; set; }
Property Value
Type Description
String
See Also
https://en.wikipedia.org/wiki/Salt_(cryptography)

See Also

https://cryptosense.com/parameter-choice-for-pbkdf2/
  • Improve this Doc
  • View Source
Back to top Generated by DocFX