C# Class AesEncrypter.EncryptionManager

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
DecryptFromBytes ( byte encryptedBytes ) : byte[]
DecryptFromStream ( Stream stream, int encryptedByteCount ) : byte[]
DecryptFromStreamToStream ( Stream fromStream, Stream toStream, Action updateAction = null ) : void
EncryptToBytes ( byte unencryptedBytes ) : byte[]
EncryptionManager ( ) : System

Private Methods

Méthode Description
AssignByteArrayFromString ( string value, byte byteArray ) : void
CopyFromStreamToStream ( Stream fromStream, Stream toStream, int size, Action updateAction ) : void
GetDecryptStream ( Stream encryptedStream ) : CryptoStream
IsValidKeyOrVector ( string value ) : bool

Method Details

DecryptFromBytes() public méthode

public DecryptFromBytes ( byte encryptedBytes ) : byte[]
encryptedBytes byte
Résultat byte[]

DecryptFromStream() public méthode

public DecryptFromStream ( Stream stream, int encryptedByteCount ) : byte[]
stream Stream
encryptedByteCount int
Résultat byte[]

DecryptFromStreamToStream() public méthode

public DecryptFromStreamToStream ( Stream fromStream, Stream toStream, Action updateAction = null ) : void
fromStream Stream
toStream Stream
updateAction Action
Résultat void

EncryptToBytes() public méthode

public EncryptToBytes ( byte unencryptedBytes ) : byte[]
unencryptedBytes byte
Résultat byte[]

EncryptionManager() public méthode

public EncryptionManager ( ) : System
Résultat System