best way to provide password in java ft. barteksc's pdfViewer

☆樱花仙子☆ 提交于 2020-05-28 04:02:27

问题


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.

来源:https://stackoverflow.com/questions/61619104/best-way-to-provide-password-in-java-ft-bartekscs-pdfviewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!