C# Class MediaAppSample.Core.Services.CryptographyProvider

Interface used to access the cryptography functions of the executing platform. Additional details of encryption implementation method: http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.dataprotection.dataprotectionprovider.aspx
Inheritance: ServiceBase
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
DecryptAsync ( string message ) : Task

Decrypts an encrypted string

EncryptAsync ( string message ) : Task

Encrypts a string

Private Methods

Method Description
CryptographyProvider ( ) : System

Method Details

DecryptAsync() public method

Decrypts an encrypted string
public DecryptAsync ( string message ) : Task
message string String to decrypt
return Task

EncryptAsync() public method

Encrypts a string
public EncryptAsync ( string message ) : Task
message string String to encrypt
return Task