Table of contents
TOC
Collapse the table of content
Expand the table of content

EncryptionUtility.Encrypt Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Encrypt a piece of text based on a given certificate

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string Encrypt(String stringToEncrypt, String thumbPrint)

Parameters

stringToEncrypt

  Type: System.String
  Text to encrypt

thumbPrint

  Type: System.String
  Thumbprint of the certificate to use

Return Value

Type: string
Encrypted text

See also

© 2018 Microsoft