C++ code to encrypt a binary string using Merkle-Hellman encryption

Contents

Published by Kevin Ku on Unsplash
Published by Kevin Ku on Unsplash
Published by Kevin Ku on Unsplash

Introduction

Cryptography is the science or art of secret writing. The fundamental objective of cryptography is to enable 2 people to communicate over an insecure channel in such a way that an opponent cannot understand what is being said. There are 2 main types of cryptography in use -

There are many other types of ciphers such as monoalphabetic and…


C code to decrypt a string encoded using the Playfair cipher

If you haven’t read this article on Playfair Encryption, go take a look first! It has a brief on the Playfair cipher as well as the logic behind most of the code.

Contents

Photo by iMattSmart on Unsplash
Photo by iMattSmart on Unsplash
Photo by iMattSmart on Unsplash

The Playfair Cipher

Assuming the keyword is ‘Charles’, the decryption procedure would be as follows. A 5x5 matrix is drawn, and letters are filled in each cell, starting with the keyword, followed by the letters in the alphabet. I/J are filled in the same cell. All repeating letters are removed, giving us this matrix -


C code to encrypt a string using the Playfair cipher

Contents

Published by Fabio on Unsplash
Published by Fabio on Unsplash
Published by Fabio on Unsplash

Introduction

Cryptography is the science or art of secret writing. The fundamental objective of cryptography is to enable 2 people to communicate over an insecure channel in such a way that an opponent cannot understand what is being said. There are 2 main types of cryptography in use -

There are many other types of ciphers such as…


Building and analyzing word and character based LSTM models using Python, Keras and the NLTK library

If you’re not familiar with the NLTK library and data preprocessing, take a look at this article. If you’re interested in language models and how to build them, read this article. If you’re familiar with NLP and language models, continue reading!

Contents

What are LSTMs?

Long-short-term memory models or LSTMs are used to solve the problem of short term memory by using…


Experimenting with POS tagging, a standard sequence labeling task using Conditional Random Fields, Python, and the NLTK library.

For an introduction to NLP and basic text preprocessing, refer to this article. For an introduction to language models and how to build them, take a look at this article. If you’re familiar with NLP and its tools, continue reading!

Contents

What is POS Tagging?

POS or part-of-speech tagging is the technique of assigning special labels to each token in text, to indicate its part of speech, and usually even other grammatical connotations, which can later be used…


Building and comparing the accuracy of NB and LSTM models on a given dataset using Python, Keras and the NLTK library.

If you’re not familiar with the NLTK library and data pre-processing, take a look at this article. If you’re interested in language models and how to build them, read this article. If you’re familiar with NLP and language models, continue reading!

Contents

What are Language Based Classifier Models?

A statistical language model is a probability distribution over sequences of words which can be used to predict the next word for text generation and many other applications. Classifiers such as…


Building and studying statistical language models from a corpus dataset using Python and the NLTK library.

To get an introduction to NLP, NLTK, and basic preprocessing tasks, refer to this article. If you’re already acquainted with NLTK, continue reading!

Contents

What are Language Models?

A language model learns to predict the probability of a sequence of words. But why do we need to learn the probability of words?

In machine translation, we take in a bunch of words from a language and convert these words into another language. Now, there can be many…


A detailed walkthrough of preprocessing a sample corpus with the NLTK library using stemming and lemmatization.

Contents

What is Natural Language Processing?

Natural Language Processing or NLP is a branch of artificial intelligence that deals with the interaction between computers and humans using the natural language. The ultimate objective of NLP is to read, decipher, understand, and make sense of human languages in a manner that is valuable. To this end, many different models, libraries, and methods have been used to train machines to process text, understand it, make predictions based on it, and even generate…


My journey in the Phase I of the Machine Learning for Microsoft Azure Scholarship Program by Udacity.

Contents

Introduction

This article is about the Microsoft Azure Scholarship Program by Udacity and my journey through the 2.5 month long duration of Phase I of the scholarship. It includes the application and selection process, the various components of the program, and the community initiatives. I have also added a comprehensive Airtable of all resources, including course notes, ML and Python resources, SDE interview questions, GitHub repositories…


National Aerospace Conceptual Design Competition III

Contents

Introduction

I and four teammates, a group of 5, participated in the third edition of NACDeC, representing IIT Kharagpur, from October 2019 to around September 2020. We reached Stage II, but unfortunately could not qualify for Stage III, the finals. In this article, I will talk about the overall journey through the various rounds and reviews, and give a brief overview of the technical aspects involved, such as the software used, the iterations done, and the results obtained.

Overview

The Design Division of Aeronautical…

Ruthu S Sanketh

Aerospace and Comp Sci at IIT Kharagpur. Passionate about robotics, AI, and tech that is shaping the future. Spend most of my time reading :)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store