archethic-node
archethic-node copied to clipboard
Smart Contracts: Crypto.encrypt/2 & Crypto.encrypt_with_storage_nonce/1
Description
Adds 2 new functions to the language Based on PR #1528 (only look at the 3 last commits) Fixes #1525
Type of change
- New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Unit tests
Checklist:
- My code follows the style guidelines of this project
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules