Arci.Networking
Arci.Networking.Security.ISymmetricEncryptor Interface Reference

Interface representing symmetric encryptor More...

Inheritance diagram for Arci.Networking.Security.ISymmetricEncryptor:
Arci.Networking.Security.AesEncryptor

Public Member Functions

byte [] Encrypt (byte[] toEncrypt)
 Encrypts data with current encryptor More...
 
byte [] Decrypt (byte[] toDecode)
 Decrypts data More...
 

Detailed Description

Interface representing symmetric encryptor

Member Function Documentation

§ Decrypt()

byte [] Arci.Networking.Security.ISymmetricEncryptor.Decrypt ( byte []  toDecode)

Decrypts data

Parameters
toDecodeData to decrypt
Returns
Decrypted data

Implemented in Arci.Networking.Security.AesEncryptor.

§ Encrypt()

byte [] Arci.Networking.Security.ISymmetricEncryptor.Encrypt ( byte []  toEncrypt)

Encrypts data with current encryptor

Parameters
toEncryptData to encrypt
Returns
Encrypted data

Implemented in Arci.Networking.Security.AesEncryptor.