Skip to content

v2.0.0

Choose a tag to compare

@jakekgrog jakekgrog released this 26 Jul 15:13
· 24 commits to master since this release
db6b75a

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