v2.0.0
This new version introduces the following changes:
- The App ID is now required along with the API Key when initialising the SDK. This is a breaking change.
require "evervault"
# Initialize the client with your App's ID and App's API key
Evervault.app_id = <YOUR-APP-ID>
Evervault.api_key = <YOUR-API-KEY>
# Encrypt your data
encrypted_data = Evervault.encrypt('Hello World!')
- Data can be decrypted using the new
decrypt()function.
# Decrypt your data
Evervault.decrypt(encrypted_data)
// "Hello World!"
Full Changelog: v1.3.2...v2.0.0