2

I have set password in my pdf file. I want a best way to store its password in java. I did as the following but I think, it could be easily accessed by private hackers because it is stored as string.

pdfView.fromAsset("eng1.pdf").scrollHandle(new DefaultScrollHandle(this)).password("eng@789").load();

Is there any better solution than to store as string value? I went through many websites but didn't get the necessary solution.

cantona_7
  • 1,127
  • 4
  • 21
  • 40
Dibas Dauliya
  • 639
  • 5
  • 20

0 Answers0