The simplest way to encrypt data with HSM is by using one of our client-side or server-side SDKs. Each SDK includes an encrypt() and decrypt() function, which accepts a String or an Object. You can also pass a Buffer for file encryption. Try it out by encrypting the name in the input field below!

If you need to use that encrypted data, it can be processed in a Function, or shared with third-party APIs using Outbound Relay.

To ensure that plaintext sensitive data never touches your infrastructure in plaintext, consider using Inbound Relay for encryption.