Encrypt the database using the cryptographic password specified by
DatabaseConfig.SetEncryption or
DatabaseEnvironmentConfig.SetEncryption.
Namespace:
BerkeleyDBAssembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0
Syntax
Remarks
If the database already exists, the value of Encrypted must be the same as the existing database or an error is returned.
Encrypted databases are not portable between machines of different byte orders, that is, encrypted databases created on big-endian machines cannot be read on little-endian machines, and vice versa.