Skip to main content

Storing and encrypting data with the .NET MAUI Document Scanner SDK

Creating storage

Custom storage
loading...

Encryption

The Scanbot SDK provides the ability to store the generated image files (JPG, PNG) and PDF files encrypted. This feature provides an additional level of security to the default secure storage locations of the native SDKs.

By default, file encryption is disabled. To enable encryption, pass the following configuration parameters during SDK initialization:

Encryption
loading...

By activating storage encryption, the native Scanbot SDKs will use the built-in AES 128 or AES 256 encryption.

All generated image files (JPG, PNG), including the preview image files and the exported PDF files, will be encrypted in memory and stored as encrypted data files on the flash storage of the device.

The Scanbot SDK derives the AES key from the given password, an internal salt value, and the internal number of iterations using the PBKDF2 function.

When applying image operations such as cropping, rotation, or image filters, the Scanbot SDK will decrypt the image file in memory, apply the changes, encrypt it, and store it again.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license

On this page