configures the use of encryption.
[Visual Basic] Sub encrypt( _ ByVal flag As Boolean _ ) [C#] void encrypt( bool flag ); [C++] void encrypt( bool flag ); [JScript] function encrypt( bool flag );
configures the use of encryption.
This method needs to be called before a database file is created with the first Db4o.openFile() .
If encryption is set to true, you need to supply a password to seed the encryption mechanism.
db4o database files keep their encryption format after creation.
Configuration Interface | com.db4o.config Namespace | com.db4o.config.Configuration.password