S
S
Slait2017-12-20 16:55:22
Encryption
Slait, 2017-12-20 16:55:22

How can one quickly create a list of sha256 and MD5 hashes from a dictionary?

I have a list of 50,000 words.
Tell me how you can generate a list on sha256 and md5.
For example
text.txt -
After generating a list of words, get the file sha256.txt and md5.txt Tell me
if there are ready-made applications for generation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Belyaev, 2017-12-20
@bingo347

simple bash script:

for l in $(cat text.txt); do
  echo $l | md5sum >> md5.txt;
  echo $l | sha256sum >> sha256.txt;
done;

M
Moris Haos, 2017-12-20
@morihaos

Hey,

#!/bin/bash
cat ./text.txt | while read line
do
  echo -n $line | md5sum | cut -d"-" -f1 - >> ./md5.txt
done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question