Files
documenso/packages
David Nguyen d766b58f42 feat: add server crypto (#863)
## Description

Currently we are required to ensure PII data is not passed around in
search parameters and in the open for GDPR reasons.

Allowing us to encrypt and decrypt values with expiry dates will allow
us to ensure this doesn't happen.

## Changes Made

- Added TPRC router for encryption method

## Testing Performed

- Tested encrypting and decrypting data with and without `expiredAt`
- Tested via directly accessing API and also via trpc in react
components
- Tested parsing en email search param in a page and decrypting it
successfully

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have followed the project's coding style guidelines.
2024-01-25 16:07:57 +11:00
..
2023-12-07 15:08:16 +11:00
2024-01-25 16:07:57 +11:00
2023-11-06 13:01:44 +11:00
2024-01-25 16:07:57 +11:00
2024-01-25 16:07:57 +11:00
2024-01-24 17:03:57 +11:00