SHA-256

Java

Overview

A Java Program where the main objective is to find the pair of sentences with the highest similarity in terms of matching characters. The program utilizes a text file with 2000 words, randomly picks verbs and nouns to combine with each other, and then roughly 700,000 sentences are then generated, where pairs will be made and their SHA-256 hash codes compared, to find the one with the highest match.

Features

  • Text file with 2000 words was used to generate random sentences.
  • 700,000 sentences were generated to achieve the end goal.
  • SHA-256 was utilized to compare the sentences and find the pair with the highest matches in characters.

GitHub