English 中文(简体)
我是否应当多次使用同样的秘密钥匙?
原标题:Should I use the same secret key multiple times?

我正在开发一个计算机安全课程的瓦 JavaSE应用软件(通用内联网),该课程通过吉大港警察局的请求向服务器发送了注册用户的密码(AES电子加密)。 它采取下列步骤:

  1. The user registers to the Intranet app.
  2. The client sends an HTTP request containing the student s password, encrypted with AES.
  3. The PHP script now decrypts the AES ciphertext and hashes it.
  4. The hashed password is stored into the database.

现在,从我对AES的理解来看,作为加密过程的一部分,我需要一个秘密的关键。 由于服务器的文字需要加密密码的秘密钥匙,每次使用同样的秘密钥匙是否是一种坏的想法? 该书一旦收到电离层后,它将使用一种电离散功能将其储存在数据库中。

最佳回答
问题回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签