Data encryption in the program


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
6 views
Needed to tie the encryption to the program. I read a little on this topic.
As I understand it, suitable encryption with the private key. The user's password will be the private key on the basis of which will be used to encrypt data. I really enjoyed the fact that this approach does not need to store the password.
But there was a problem: users are, respectively, the passwords are different, and need access to shared data.
What you can do in this case?
by | 6 views

4 Answers

0 like 0 dislike
To encrypt data using the common key and the key encrypted for each user password. Thus, each password allows access to encrypted data and componentace one password does not affect the rest parole. However, encrypted data can be compromise, having any of the passwords.
by
0 like 0 dislike
To divide your data into General and private. The key to the shared data stored in the private data of each usara, and the private key data generated based on the password of the user.
by
0 like 0 dislike
>>The user's password will be the private key on the basis of which will be used to encrypt data.
\r
Clarification.
\r
The private key is the term asymmetric cryptography. The password cannot be the private key. There are 2 main algorithm of asymmetric cryptography: RSA and DSA (DSA is, for elliptic curves, ECDSA). In one of them you can't use the password as the private key.
\r
Although... I now came upon a great idea is to generate p and q (all the time the same) password, then don't need to store the private key. Went to think this thought...
by
0 like 0 dislike
And store all passwords in one place (a database, for example)?
by

Related questions

0 like 0 dislike
5 answers
asked Mar 20, 2019 by sopov
0 like 0 dislike
1 answer
asked Mar 23, 2019 by mihavxc
0 like 0 dislike
4 answers
0 like 0 dislike
5 answers
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
0 comments
28,070 users