archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Smart Contracts: add `Crypto.encrypt_with_storage_nonce/1` and `Crypto.encrypt/2`

Open bchamagne opened this issue 8 months ago • 0 comments

Is your feature request related to a problem?

No response

Describe the solution you'd like

Crypto.encrypt_with_storage_nonce/1 can encrypt any hexadecimal with the storage nonce public key (making it only decryptable by the nodes) (to be used with Crypto.decrypt_with_storage_nonce/1) Crypto.encrypt/2 can encrypt any hexadecimal with the given public key

Additional context

No response

Epic

No response

bchamagne avatar Jun 04 '24 15:06 bchamagne