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.138 -- Release Build+7cd8bc54c938e625e2e09e9474042692f27e9031
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