mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER
Code Details >> Tools >> SecurityInfo >> ReadFromEncryptedFile

SecurityInfo.ReadFromEncryptedFile Method



Reads text from a file encrypted in DES encryption. (128 bit symmetric encryption)


Namespace: SobekCM.Tools
Assembly: SobekCM_Tools (in SobekCM_Tools.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public char[] ReadFromEncryptedFile(
	string Filename,
	string Key,
	string Iv,
	int Position,
	int Length
)

Parameters

Filename
Type: System..::..String
Path and name of file to be read from
Key
Type: System..::..String
8 character (64bit) key for decryption
Iv
Type: System..::..String
8 character (64bit) initialization vector for decryption
Position
Type: System..::..Int32
Character position to start reading from
Length
Type: System..::..Int32
Number of characters to read from the file

Return Value

Type: array<Char>[]()[][]
Character array of data read and decrypted from file or a NULL if there was an error

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )