EncryptedRoute is a module containing router decorator functions which encrypts
response body data through AES-128/256 encryption. Furthermore, they can boost
up JSON string conversion speed about 50x times faster than class-transformer,
even type safe through typia.
For reference, if you try to invalid data that is not following the promised
type T, 500 internal server error would be thrown. Also, as EncryptedRoute
composes JSON string through typia.assertStringify<T>() function, it is not
possible to modify response data through interceptors.
Encrypted router decorator functions.
EncryptedRoute
is a module containing router decorator functions which encrypts response body data through AES-128/256 encryption. Furthermore, they can boost up JSON string conversion speed about 50x times faster thanclass-transformer
, even type safe through typia.For reference, if you try to invalid data that is not following the promised type
T
, 500 internal server error would be thrown. Also, asEncryptedRoute
composes JSON string throughtypia.assertStringify<T>()
function, it is not possible to modify response data through interceptors.Author
Jeongho Nam - https://github.com/samchon