-
Feature Request
-
Resolution: Done
-
Major
-
1.4.0
-
None
on 'encrypt:', 'decrypt:' methods for both CryptoBox and SecretBox, we used NSAssert to check whether the crypto process was a success/failure. Although NSAssert makes senses during development time, for scenarios where variability of the crypto params (e.g invalid keys) can be used, it is easier for the client to catch those errors using NSError, instead of forcing an assertion error.