Discuss this help topic in SecureBlackbox Forum

TElBCrypt.GenerateSalt

TElBCrypt     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Generates a random salt for encryption.

Declaration

[C#/Java]
    static byte[] GenerateSalt();

[VB.NET]
    Shared Function GenerateSalt() As Byte()

[Pascal]
    class function GenerateSalt : ByteArray;

[C++]
    static void GenerateSalt(std::vector<uint8_t> &OutResult);

[PHP]
    string GenerateSalt()

Return value

    Returns the salt value.

Description

    Call this method to generate a random salt for password encryption.

See also:     EncryptPassword    

Discuss this help topic in SecureBlackbox Forum