Partager via


PSHA1 Constructor (Byte[], Byte )

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

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

Usage

'Usage
Dim secret() As Byte
Dim labelSeed() As Byte
Dim pSHA11 As New PSHA1(secret, labelSeed)

Syntax

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

Parameters

  • secret
    An array of type Byte that contains the secret to be hashed.
  • labelSeed
    An array of type Byte that contains the label 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