[V4Rb] encryption

Charles Yeomans yeomans at desuetude.com
Fri Jul 11 14:39:36 CDT 2003


On Friday, July 11, 2003, at 11:07 AM, Ruslan Zasukhin wrote:

> on 7/11/03 17:10, Charles Yeomans at yeomans at desuetude.com wrote:
>
>> I was reading the docs about BaseObject encryption, and it says that
>> the SetEncryption method must be called right after VDatabase.Create 
>> or
>> VDatabase.Open.  It seems to me that a logical place to call
>> SetEncryption would be in the VBaseObject constructor.  Can I do this?
>
> Hi Charles,
>
> IF you already have encrypted db then yes.
> Important is that you say Valentina a key BEFORE you start work with 
> this
> BaseObject's data.
>
> But how you going encrypt BaseObject first time if you will have
> Setencryption in the constructor?


Well, I don't know; that's why I'm asking.  If I call SetEncryption in 
the VBaseObject constructor, then it certainly seems to me that this 
would occur before I begin to work with that VBaseObject's data.

Charles Yeomans



More information about the Valentina mailing list