Patent attributes
Disclosed are methods, systems, and non-transitory computer-readable medium for enhancing web security. For instance, the method may include transmitting a request to a server, the request including a payload and a service worker public key, the service worker public key corresponding to a service worker private key. The method may also include receiving a push from the server, the push including a server public key that corresponds to a server private key, and receiving a response to the request from the server. The method may also include constructing a shared-secret based on the service worker private key and the server public key, and decrypting the response using the shared-secret.