Platform Core .NET Assemblies API
SignData Method
See Also  Send Feedback
Terrasoft.Common Namespace > DSACryptoServiceProvider Class : SignData Method
data
The text for encryption.
privateKey
Secret key.

Glossary Item Box

Encrypts the specified text using the specified secret key.

Syntax

 
C#
 
 

Parameters

data
The text for encryption.
privateKey
Secret key.

Return Value

The string that represents the encrypted text in the base64 format.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.