'How can I decrypt a coreml model?

How can I decrypt a coreml model encrypted by core_ml_api?

https://developer.apple.com/documentation/coreml/core_ml_api/encrypting_a_model_in_your_app

the encrypted file has the encryptionInfo folder



Solution 1:[1]

If I understand you correctly, you don't. The encryption is performed on an unencrypted model and the API handles the decryption.

The documentation that you linked to states:

At runtime, you load the encrypted model the same way you load any other built-in model by using its load(completionHandler:completionHandler:) type method.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jeshua Lacock