PSHA1 Constructor (Byte[], String, Byte[])

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

Namespace: Microsoft.Web.Services2.Security.Cryptography
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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<Byte>^ secret, 
    String^ label, 
    array<Byte>^ 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 System.Byte that is the secret to be hashed.
  • label
    A string that is the label.
  • seed
    An array of type System.Byte that is the seed.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

PSHA1 Class
Microsoft.Web.Services2.Security.Cryptography Namespace

Other Resources

PSHA1 Members