JAVA AES 256 & Public Key Encryption [closed]

▼魔方 西西 提交于 2019-12-02 11:14:14

AES256 is a specific symmetric encryption scheme, which requires the communicating parties to have pre-shared an encryption key. Public-key cryptography on the other hand is an asymmetric encryption principle, where each communicating party has a public key shared with every one and a private key which he keeps a secret. A typical example for the latter would be RSA.

Both symmetric and asymmetric encryption have there pros and cons, you should first figure out what you (or your client) want. Then, when implementing any cryptography always be sure to use common libraries and never (ever) try to implement any cryptography algorithms yourself. Small mistakes in these topics often lead to complete insecurity.

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