5. SAS-RCS/RBS Encryption Algorithms by: saaiqSAS Last Updated: 27/2/2025 The SAS-RCS/RBS Encryption Algorithms are built on top of the SAS-ROS Cipher, incorporating multiple cryptographic steps to address the vulnerabilities of the pure ROS Cipher. These enhancements provide robust and comprehensive encryption for two primary data types: text and binary. The algorithms utilize the same two types of keys as the ROS Cipher: Dynamic Key and Static Key.

SAS-RCS (Saaiq Abdulla Saeed's - Random Character Substitution) is a text-level substitution encryption algorithm that processes text input and generates text output by manipulating individual characters. The algorithm is designed to support all Unicode characters, including BMP (Basic Multilingual Plane) and SCP (Supplementary Character Plane).

SAS-RBS (SAS - Random Binary Substitution) operates at the binary level, processing byte input and producing byte output. The algorithm manipulates binary data differently across various levels, such as bitwise, bytewise, or in custom groupings.

Below, Fig. 5.1 shows the flow diagram for the steps involved in each individual algorithm.

Fig.5.1