C# Class Jbe.NewsReader.ExternalServices.CryptographicService

Inheritance: ICryptographicService
Afficher le fichier Open project: jbe2277/waf

Méthodes publiques

Méthode Description
DecryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
EncryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task

Private Methods

Méthode 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 méthode

public DecryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
stream Stream
key string
salt string
iterationCount uint
Résultat Task

EncryptAsync() public méthode

public EncryptAsync ( Stream stream, string key, string salt, uint iterationCount ) : Task
stream Stream
key string
salt string
iterationCount uint
Résultat Task