CryptoSys API Library Manual

Pc1.File Method

Encrypt a file using RC4-compatible algorithm

Syntax

[C#]
public static int File(
	string fileOut,
	string fileIn,
	byte[] key
)
[VB.NET]
Public Shared Function File ( _
	fileOut As String, _
	fileIn As String, _
	key As Byte() _
) As Integer

Parameters

fileOut
Full pathname of output file to be created. Must be different from fileIn
fileIn
Full pathname of input file
key
Key byte array, any length

Return Value

Zero (0) if successful; otherwise it returns a nonzero error code

Remarks

Superseded by Cipher.StreamFile()

See Also

VB6/C equivalent: PC1_File

[Contents] [Index]

[PREV: Pc1.Encrypt Method (String, String)...]   [Contents]   [Index]   
   [NEXT: Prf.Bytes Method...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.