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.150 -- Release Build+f338bf935a1b4ee13b6f645d7fa25793d53e09de
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