View Full Version : MinimumKeyLength

Mike Peat
22-Aug-2023, 06:42 AM
Hi Data Access

Just trying to implement some encryption using the 1.2.0 version of the library in DF 23.0.

Ran into a problem with the instructions in the PDF, page 16:

Procedure Initialize
Integer iKeyLen
UChar[] ucaKey

// generate a new key
Get MinimumKeyLength of ghoSecurity (piEncryptImplementation(Self)) ;
to iKeyLen
Get RandomData of ghoSecurity iKeyLen to ucaKey
Forward Send Initialize (&ucaKey)

Send Initialize

I think that should probably be MinimumKeyBytes.