Subject Re: [Firebird-Architect] Re: database encryption
Author Dimitry Sibiryakov
05.11.2010 15:12, ettotev wrote:
> Well, all I'm actually asking for is a clearly defined and documented interface for the disk encryption plug-in.

Interface: DLL named fbcrypt.dll (libfbcrypt.so) with two functions called "encrypt" and
"decrypt". Both functions have the same declaration:

int (*crypt_routine) (const char* key, void* in_buffer, int size, void* out_buffer);

All they need to do is somehow transform data from in_buffer of size "size" into
out_buffer of the same size.

Is this definition clear enough?

> I remember reading about the "current solution" some time ago, but can't find it again. Could someone please point me to some documentation?

Sources is the only documentation, unfortunately. Fortunately, encryption plugin
interface is much simpler than any other plugin (intl or external routines) interface.

--
SY, SD.