Gemstone Security Library
Show/Hide TOC

# Blake2BConfigSalt Property

Gets or sets the salt value used in the hash. If not null, must be 16 bytes.

## Definition

Namespace: Gemstone.Security.Cryptography.Blake2BHash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.155 -- Release Build+d8de0108f73c26e6d2af6f3161db9c9ea851a15c
C#
View Source Request Example

    public byte[]? Salt { get; set; }

VB
View Source Request Example

    Public Property Salt As Byte()
    	Get
    	Set

C++
View Source Request Example

    public:
    property array<unsigned char>^ Salt {
    	array<unsigned char>^ get ();
    	void set (array<unsigned char>^ value);
    }

JavaScript
View Source Request Example

    function get_Salt();
    function set_Salt(value);

#### Property Value

Byte

## Exceptions

ArgumentException | Attempt to set Salt to non-null other than 16 bytes.

## See Also

#### Reference

Blake2BConfig Class
Gemstone.Security.Cryptography.Blake2BHash Namespace