Partager via


PSHA1 Constructor (Byte[], String, Byte )

Initializes a new instance of the PSHA1 class using the specified secret, label, and seed.

Namespace: Microsoft.Web.Services3.Security.Cryptography
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim secret() As Byte
Dim label As String
Dim seed() As Byte
Dim pSHA11 As New PSHA1(secret, label, seed)

Syntax

'Declaration
Public Sub New( _
    ByVal secret() As Byte, _
    ByVal label As String, _
    ByVal seed() As Byte _
)
public PSHA1(
    byte[] secret, 
    string label, 
    byte[] seed
);
public:
PSHA1(
    array<unsigned char>^ secret, 
    String^ label, 
    array<unsigned char>^ seed
);
public PSHA1(
    ubyte[] secret, 
    System.String label, 
    ubyte[] seed
);
public function PSHA1(
     secret : Byte[], 
     label : String, 
     seed : Byte[]
);

Parameters

  • secret
    An array of type Byte that is the secret to be hashed.
  • label
    A string that is the label.
  • seed
    An array of type Byte that is the seed.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

PSHA1 Class
PSHA1 Members
Microsoft.Web.Services3.Security.Cryptography Namespace