Photon Server API
Public Member Functions | Properties | List of all members
Photon.SocketServer.Security.ICryptoProvider Interface Reference

Provides methods to encrypt and decrypt binary data. More...

Inheritance diagram for Photon.SocketServer.Security.ICryptoProvider:
Photon.SocketServer.Security.RijndaelCryptoProvider

Public Member Functions

byte[] Decrypt (byte[] data)
 Decrypts the specified data. More...
 
byte[] Decrypt (byte[] data, int offset, int count)
 Decrypts the specified data. More...
 
byte[] Encrypt (byte[] data)
 Encrypts the specified data. More...
 
byte[] Encrypt (byte[] data, int offset, int count)
 Encrypts the specified data. More...
 

Properties

bool IsInitialized [get]
 Gets a value indicating whether IsInitialized. More...
 

Detailed Description

Provides methods to encrypt and decrypt binary data.

Member Function Documentation

byte [] Photon.SocketServer.Security.ICryptoProvider.Decrypt ( byte[]  data)

Decrypts the specified data.

Parameters
dataThe data to decrypt.
Returns
A byte array containing the decrypted data.

Implemented in Photon.SocketServer.Security.RijndaelCryptoProvider.

byte [] Photon.SocketServer.Security.ICryptoProvider.Decrypt ( byte[]  data,
int  offset,
int  count 
)

Decrypts the specified data.

Parameters
dataThe data.
offsetThe offset.
countThe count.
Returns
A byte array containing the decrypted data.

Implemented in Photon.SocketServer.Security.RijndaelCryptoProvider.

byte [] Photon.SocketServer.Security.ICryptoProvider.Encrypt ( byte[]  data)

Encrypts the specified data.

Parameters
dataThe data to encrypt.
Returns
A byte array containing the encrypted data.

Implemented in Photon.SocketServer.Security.RijndaelCryptoProvider.

byte [] Photon.SocketServer.Security.ICryptoProvider.Encrypt ( byte[]  data,
int  offset,
int  count 
)

Encrypts the specified data.

Parameters
dataThe data to encrypt.
offsetThe offset.
countThe count.
Returns
A byte array containing the encrypted data.

Implemented in Photon.SocketServer.Security.RijndaelCryptoProvider.

Property Documentation

bool Photon.SocketServer.Security.ICryptoProvider.IsInitialized
get

Gets a value indicating whether IsInitialized.