Implement IBlob - WeOnlyDo Discussion board

Implement IBlob (General questions)

by Nik, Tuesday, May 18, 2010, 12:10 (5302 days ago)

Hi

I try to implement IBlob by my own class KeyBlob, realized in VB6. The goal is to set: locCrypt.SecretKey = myKBlob.

KeyBlob stores an array: myArray(31) as Byte (Zero-based, means 0 to 31 = size of 32)

While setting .SecretKey, this invokes Private Function Blob_Seek twice: once with (Offset=0, Origin=2) and (Offset=0, Origin=0).

I thought, this is wodCrypt's way to detect the bounderies. But it crashes in both cases: giving back 31/0 or 32/1.

So I have obviously a misunderstandig. What values (VB-Long) are expected from wodCrypt at this moment?

Thanks much for any help.
Nik


Complete thread: