This module exposes a Rest API resource for encryption and decryption of input string. You can provide authentication and other configuration in Rest UI screen. you can see below Resource in Rest UI configuration screen.
Rest Encrypt Decrypt
you can enable this resource and usage is provided below.
Decrypt request
provide action value as decrypt for decryption. encrypt_profile is the machine name of your encryption profile.input_text Is the input need to be encrypted or decrypted.