usage:

pdf2john file.pdf | tee pdf.hash