How to store an encryption secret key safely

0 votes
asked Feb 26, 2016 by gur_7400_Wa (1,370 points)
I was asked at work to protect sensitive data that is kept into Mysql Database.

5 Answers

0 votes
answered Mar 15, 2016 by gur4351 (550 points)
Best answer

The secret key to isolate different business systems. Other Secret encryption key management services can be unified. First, we need a safe place to store an encrypted secret key. But if the business logic can not avoid these information stored. As long as the user information is stored, it may become a target of attack.
commented Mar 16, 2016 by Naq_In (670 points)
If you want another solution to this problem do this. If the keys are completely random then this will not work
+1 vote
answered Apr 6, 2016 by GuhThus (280 points)

This is another reason to err on the side of choosing longer keys. The keys used in public key cryptography have some mathematical structure. See the key size article for a more complete discussion. Without a key, the algorithm would produce no useful result.
0 votes
answered Apr 16, 2016 by ludovico (560 points)
Using it to deterministically generate keys is no longer possible.
commented Apr 17, 2016 by good_8231 (250 points)
I think that this is an excellent question and not at all argumentative. I think you will understand
commented Apr 18, 2016 by Times_k (610 points)
This will resolve your issue
0 votes
answered Apr 19, 2016 by erc4918 (710 points)
When I face this problem I just edit the file and save it
The syntax is defined here Secret Key Encryption PyNaCl 0.3.0 documentation
0 votes
answered May 17, 2016 by did_Ro (140 points)

Related questions

0 votes
4 answers
0 votes
4 answers
0 votes
4 answers

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!