hybridEncryptDecryptHandler
$0.01/invocation
This function can encrypt or decrypt plain text using a hybrid AES + RSA approach based on the provided action. This hybrid method combines the efficiency of AES-256 for encrypting large amounts of data with the security of RSA for securely exchanging encryption keys. Unlike using a shared secret key in AES-256 alone, the hybrid approach eliminates the risk of key exposure by using RSA to encrypt the AES key, ensuring secure key distribution and enhancing the overall security.
hybridEncryptDecryptHandler(
)
=
loading...
API
python
Ruby
>_
Google Sheets
Chat
Email
To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN'
FuncLive.("hybridEncryptDecryptHandler", {
"data": "My secret message or encrypted data string",
"action": "encrypt"
})
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
For more information: https://rubygems.org/gems/func_live