This is a simple scenario based application for string matching and cryptography in the case of a publisher, subscriber model. This demonstrates the communication between a publisher and a subscriber model using two different modes of encryption and decryption(Caesar Cipher, Bit-Flipping). This application is built in the perspective of a turing machine.
- Node
- Navigate to the project directory and run the below command to install the dependencies in the package.json file.
- Once after the dependencies are installed, we could start the development server either by using node or nodemon.
or
- Now the local server should be running in the port 3000. Now we should navigate to the browser and type the localhost url.
->This should bring up a signin page.
- We can use any of the usernames and passwords mentioned below. Here, we use the string matching turing machine for login. Here we are intended to do only string matching, so the passwords here are kept straight and in an unencrypted manner.
{"nalin":"adminnalin"}, {"karthikeyan":"adminkeyan"},{"karthik":"adminkarthik"},{"eswar":"admineswar"},{"pragadishwaran":"adminpd"}
- Once after login, it should take us to the mode of encryption selection page, where the user can either use one method.