Encryption Decryption of REST API

Discussão em 'Angular' iniciado por Prashant, Fevereiro 18, 2025.

  1. Prashant

    Prashant Guest

    We have backend implementation in Spring Boot and Frontend in Angular. Although we are using HTTPs but for additional security we wants to use the encrypted request and response of our Rest APIs. For REST API request (frontend to backend) we have implemented the RSA where the public key is stored at frontend for encryption and backend is using private key for decryption. But for REST API response (backend to frontend) how to implement the encryption and decryption. Because for decryption it is not safe to store the private key on frontend. What is the best way for this implementation. Thanks.

    Continue reading...

Compartilhe esta Página