Subject | Re: [Firebird-Architect] Re: database encryption |
---|---|
Author | Roman Rokytskyy |
Post date | 2010-11-05T15:29:16Z |
> Um, that's not a terribly clever interface. Most, if not all,We could extend it with one more call to get from the plugin a
> encryption algorithm require computation to transform the key into a
> computationally efficient form. Passing the key on the same call as the
> data either requires the key to be computed on each message or for the
> encryption code to transparently cache processed keys, which add
> complexity, overhead, and a guaranteed memory leak.
computationally optimized key, which is then passed into encrypt/decrypt
routines. That would not require any change there, only adding an entry
point.
> Also, the output size isn't the same as the input size. DES rounds upShould be not an issue, since page size can be divided on 16...
> to an eight byte boundary, AES to 16 bytes. How is the called to know
> what to expect?
I think we should do there as little as possible in order to get
experience with its use.
Roman