New answers tagged keys
1
vote
Is it safe or reasonable to use the key parameter in a cryptographic hash function as a counter?
Hash functions don't have key as parameter. I assume you got that misconception from programming languages such as PHP where they allow you to set a key to turn them into HMAC, despite they're no ...
- 8,015
0
votes
If PGP and GPG both follow the OpenPGP standard, are they 100% compatible in all use cases?
Symantec PGP and GnuPG derive different key id's when importing an X.509 certificate (or a PKCS#12 keystore containing a certificate). Symantec PGP extrapolates the OpenPGP standard, substituting the ...
- 221
2
votes
Accepted
How does the public key cryptography algorithm generate a public key based on the private key?
The question gets some facts wrong about RSA; refer to PKCS#1 for a reference. 1, 5, 6, 7, 8, 9, 10, 12, 13 are show-stoppers. The answer to the question is in 11 and 12.
The correct condition for $p$...
- 132k
1
vote
How is asymmetric encryption possible if you need a passcode in order to encrypt something?
In asymmetric encryption, knowledge of the encryption key allows to encrypt, not to decrypt. That's even with full knowledge of the encryption and decryption algorithms†. Contrary to the question's ...
- 132k
3
votes
Accepted
How is asymmetric encryption possible if you need a passcode in order to encrypt something?
Cant you look at the algorithm used to encrypt and find the private key from the public key that way?
Welcome to the wonderful (and nonintuitive) world of public key cryptography.
In this world, we ...
- 139k
0
votes
Why hashing a seed to generate a key and using chaining to get the rest of key matterial is not secure?
If the output is H(S) || H(S||H(S)) || H(S||H(S||H(S))) || …, then it's possible to reconstruct the whole output from the first n bytes where n is the length of the hash.
I don't believe that the ...
- 139k
Top 50 recent answers are included
Related Tags
keys × 850encryption × 243
public-key × 109
aes × 105
rsa × 84
key-derivation × 68
symmetric × 62
key-exchange × 59
hash × 51
key-size × 49
block-cipher × 37
elliptic-curves × 36
cryptanalysis × 34
hmac × 29
algorithm-design × 27
des × 27
signature × 25
diffie-hellman × 24
authentication × 23
passwords × 23
brute-force-attack × 22
random-number-generator × 19
secret-sharing × 19
entropy × 19
tls × 18