[dev] File Encrypt/Decrypt function

Joel Vandal jvandal@subi.to
Wed, 4 Sep 2002 21:47:39 -0400


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
Hi,

Where is the best place to put an encrypt/decrypt file function for =
Gollem ? in lib/Gollem.php or directly on the VFS backend and call a =
function like : $GLOBALS['vfs']->cryptFile ?=20

Or simply change Crypt class to support a _encryptFile and _decryptFile =
function (since they appear that only message/signature are supported) =
and call proper function on gollem ?

I have modified manager.php, templates/manager/javascript.inc and =
templates/manager/prompt.inc for the Encryption/Decryption options and =
create rought code for crypt & compression function.

Also, I like the "popup dialog" option of gollem that use dhtml windows, =
does exist any plan to change all messagebox for this kind of popup on =
other applications ?

--
Joel Vandal
Infoteck Internet

---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Where is the best place to put an =
encrypt/decrypt=20
file function for Gollem ? in lib/Gollem.php or directly on the VFS =
backend and=20
call a function like : $GLOBALS['vfs']-&gt;cryptFile ? </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Or simply change Crypt class to support =
a=20
_encryptFile and _decryptFile function (since they appear that only=20
message/signature are supported) and call proper function on gollem=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have modified manager.php,=20
templates/manager/javascript.inc and templates/manager/prompt.inc for =
the=20
Encryption/Decryption options and create rought code for crypt &amp; =
compression=20
function.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Also, I like the "popup dialog" option =
of gollem=20
that use dhtml windows, does exist any plan to change all messagebox for =
this=20
kind of popup on other applications ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Joel Vandal</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Infoteck =
Internet</FONT></DIV></BODY></HTML>

---------------------- multipart/alternative attachment--