This tutorial explores the deployment of highly secure encrypted data streams using advanced serverless event handling in a real-time Angular 2 web application, emphasizing the importance of encryption across various sectors like healthcare and IoT. The system utilizes PubNub's Data Stream Network, which provides high availability, performance, and security, offering seamless connectivity and rapid message propagation globally. The tutorial highlights the implementation of a message "severity" field to enable actions based on importance levels, taking advantage of PubNub's Functions feature to decorate messages with supplementary data and integrate third-party applications. It details the setup of encryption with PubNub, using high-grade HTTPS/TLS security and 256-bit AES end-to-end encryption, alongside advanced access control via PubNub's Access Manager. Through a step-by-step guide, it demonstrates creating a serverless code block for message processing and a user interface component using Angular2, ensuring the integration of secure, real-time messaging with minimal coding complexity.