Category: C++

Generate SHA-256 hashcode in Java

The SHA-256 algorithm is a widely used hash function producing a 256-bit hash value. In this post, we will discuss different methods to generate SHA-256 hashcode in Java using MessageDigest, Guava, and Apache Commons library.

Join two arrays in C++

In this post, we will discuss how to join two arrays into a new array in C++. The new array should contain elements of first array followed by elements of the second array, in the same order.