setStorageCryptingProvider

external fun setStorageCryptingProvider(storageCryptingProvider: CoreStreamProvider?)

Sets storageCryptingProvider that is used when an image is read/written from/to disk. The provider is used both when images are hibernated and when they are saved/loaded from disk with saveImage/fromPath. Can be set at most once, best when the application is initialized but in any case before any ImageRef is created.