C# Class JabbR.Services.CryptoService

Inheritance: ICryptoService
ファイルを表示 Open project: ucdavis/JabbR

Public Methods

Method Description
CreateSalt ( ) : string
CryptoService ( IKeyProvider keyProvider ) : System
Protect ( byte plainText ) : byte[]
Unprotect ( byte payload ) : byte[]

Method Details

CreateSalt() public method

public CreateSalt ( ) : string
return string

CryptoService() public method

public CryptoService ( IKeyProvider keyProvider ) : System
keyProvider IKeyProvider
return System

Protect() public method

public Protect ( byte plainText ) : byte[]
plainText byte
return byte[]

Unprotect() public method

public Unprotect ( byte payload ) : byte[]
payload byte
return byte[]