Top "Cryptography" questions

CRYPTOGRAPHY MUST BE PROGRAMMING RELATED.

iText/BouncyCastle ClassNotFound org.bouncycastle.asn1.DEREncodable and org.bouncycastle.tsp.TimeStampTokenInfo

I'm trying to use iText Java. When you run the example "how to sign" the following error occurs: Caused by: …

java exception cryptography itext bouncycastle
Correct way to sign and verify signature using bouncycastle

I am using bcmail-jdk16-1.46.jar and bcprov-jdk16-1.46.jar (Bouncycastle libraries) to sign a string and then verify the …

java encryption cryptography digital-signature bouncycastle
Is "double hashing" a password less secure than just hashing it once?

Is hashing a password twice before storage any more or less secure than just hashing it once? What I'm talking …

security hash passwords cryptography password-hash
Can two different strings generate the same MD5 hash code?

For each of our binary assets we generate a MD5 hash. This is used to check whether a certain binary …

hash cryptography md5 hash-collision
how to get private key from PEM file?

i have a .PEM file that includes public key and a private key for SSL data transfer like this: -----BEGIN …

.net ssl cryptography private-key pem
Which cryptographic hash function should I choose?

The .NET framework ships with 6 different hashing algorithms: MD5: 16 bytes (Time to hash 500MB: 1462 ms) SHA-1: 20 bytes (1644 ms) SHA256: 32 bytes (5618 …

c# .net hash cryptography cryptographic-hash-function
CryptographicException "Key not valid for use in specified state." while trying to export RSAParameters of a X509 private key

I am staring at this for quite a while and thanks to the MSDN documentation I cannot really figure out …

c# .net encryption cryptography rsa
Registering multiple keystores in JVM

I have two applications running in the same java virtual machine, and both use different keystores and truststores. A viable …

java ssl cryptography jvm jsse
How do I enable perfect forward secrecy by default on Apache?

Warning: please only use the recommendations for Apache configuration from the answers below. For which cipher(s) to use - …

apache ssl cryptography
How does password salt help against a rainbow table attack?

I'm having some trouble understanding the purpose of a salt to a password. It's my understanding that the primary use …

hash cryptography salt rainbowtable