C# Class Jbe.NewsReader.ExternalServices.CryptographicService

Inheritance: ICryptographicService
Datei anzeigen Open project: jbe2277/waf

Public Methods

Method Description
DecryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
EncryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task

Private Methods

Method Description
CreateBuffer ( Stream stream ) : Task
CreateStream ( Windows.Storage.Streams.IBuffer buffer ) : MemoryStream
DeriveKeyAndSalt ( string key, string salt, uint iterationCount ) : IBuffer>.Tuple
MemoryStreamToArrayFast ( MemoryStream memoryStream ) : byte[]
RunSymmetricAlgorithmAsync ( Func algorithm, Stream stream, string key, string salt, uint iterationCount ) : Task

Method Details

DecryptAsync() public method

public DecryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
stream Stream
key string
salt string
iterationCount uint
return Task

EncryptAsync() public method

public EncryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
stream Stream
key string
salt string
iterationCount uint
return Task