Argon2ConfigMemoryCost Property

Gets or sets the memory cost used in the password hash. Minimum of 1. Defaults to 65536.

Definition

Namespace: Gemstone.Security.Cryptography.Argon2Hash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.169 -- Release Build+43e28b5fd7125e5e0921cb1e975c038b7a974af2
public int MemoryCost { get; set; }

Property Value

Int32

Remarks

This translates into a target count of memory blocks to use for hashing. A memory block is 1024 bytes so the default 65536 is for a 64MB hash.

If this value is less than 2*SyncPointCount*Lanes, than 2*SyncPointCount*Lanes will be used.

If this value is not a multiple of SyncPointCount*Lanes, then it is rounded down to a multiple of SyncPointCount*Lanes.

See Also