Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]

I generate a random string of 32 characters and then compute the SHA-512 hash then I encrypt the unhashed string. I then save the encrypted text and hash to the database. Is it okay to store the hash of the original text? Will it make the … Continue reading Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]

Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]

I generate a random string of 32 characters and then compute the SHA-512 hash then I encrypt the unhashed string. I then save the encrypted text and hash to the database. Is it okay to store the hash of the original text? Will it make the … Continue reading Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]

Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]

I generate a random string of 32 characters and then compute the SHA-512 hash then encrypt the unhashed string. I then save the encrypted text and hash to the database. Is it okay to store the hash of the original text? Will it make the en… Continue reading Storing the hash of the plaintext and the encrypted plaintext next to each other [closed]