C# Class DataProtectionSample.MySafe

Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Méthodes publiques

Méthode Description
Decrypt ( string encrypted ) : string
Encrypt ( string input ) : string
MySafe ( IDataProtectionProvider provider ) : Microsoft.AspNetCore.DataProtection

Method Details

Decrypt() public méthode

public Decrypt ( string encrypted ) : string
encrypted string
Résultat string

Encrypt() public méthode

public Encrypt ( string input ) : string
input string
Résultat string

MySafe() public méthode

public MySafe ( IDataProtectionProvider provider ) : Microsoft.AspNetCore.DataProtection
provider IDataProtectionProvider
Résultat Microsoft.AspNetCore.DataProtection