'RSA Cipher, how to secure save public and private keys?
I want to encypt my sql database file using RSA cipher. So, i have two keys public and private, and they just stand "naked" in the code like:
...
privKey = "salosalsolaosloals23232"
pubKey = "olsolsosloslsosls123123"
...
So, the question is, how to hide them, and make code more secure? I have tried to keep them in separated txt files, but it`s not that, that i want, because you still able to read/see them, is there any methods to hide them at all?
Solution 1:[1]
Try with element instead of component. I believe component is the way to go in v6.
https://reactrouter.com/docs/en/v6/getting-started/overview
<Route path="/" exact element={<Home />} />
<Route path="/deals" element={<Deals />} />
<Route path="/goto" element={<Goto />} />
<Route path="/todo" element={<Todo />} />
<Route path="/signup" element={<SignUp />} />
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kadenee |
