## RSA algorithm in C easy implementation

Today we will write a program to implement RSA algorithm in C programming language, so let’s first understand what is RSA algorithm. What is RSA Algorithm? RSA is one of the first practical public-key cryptosystems and is widely used for secure data transmission. In such a cryptosystem, the encryption key is public and differs from … Read more

## Convert Octal to Hexadecimal in C++

In this post, firstly we will understand how to convert an Octal number to Hexadecimal number, then we will implement the same using C++ programming language. Let’s first understand how the conversion works: How to Convert Octal to Hexadecimal? When converting from octal to hexadecimal, it is often easier to first convert the octal number … Read more

## Different ways to pass Array into Function in C++

There are many ways in which you can pass array into function. I’ve discussed 3 different ways to do this. How programs works: 1-  Declare array of size 10 2- Initialize it using for loop 3- Calling “UpdateArray” function and passing array as argument 4- Take squares of all values and update it 5- Display … Read more

## How to count number of non repeating digits in a Range C++

Here we will write a program to count the number of non repeating digits in a given range. Let’s start with understanding the problem. Given: A Range starting from L till R. Problem: Find the count of total numbers such that they do not have any repeated digits. Like 123 has no repeated digits but 121, 122, … Read more

## C++ Program to check if word exists in Grid or not

Here we are going discuss about a 2D Grid or 2D array and check if a given word exists in Grid or not. Then we will write a C++ program to implement the same. Given: A 2D Grid of character and a word to search for. Problem: To check if the given word exists in the Grid … Read more

## Coppersmith Freivalds Algorithm simple implementation in C

This is a C Program to implement Coppersmith Freivalds algorithm to check if the 3rd matrix is the result of multiplication of the given two matrices. Here is source code of the C Program to Implement Coppersmith Freivalds Algorithm. The C program is successfully compiled and run on a Linux system. The program output is … Read more