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.177 -- Release Build+81a5cbb371db06f3c25ad074506bb1c62cdb198a
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