Top "Cryptography" questions

CRYPTOGRAPHY MUST BE PROGRAMMING RELATED.

How to use .key and .crt file in java that generated by openssl?

I need asymmetric encryption in java. I generate .key and .crt files with own password and .crt file by openssl …

java ssl cryptography openssl crt
Rijndael support in Java

We have a requirement to do some Rijndael development in Java. Any recommendations for articles, libraries etc. that would help …

java cryptography rijndael
Java AES: No installed provider supports this key: javax.crypto.spec.SecretKeySpec

I'm trying to set up 128 bit AES encryption, and I'm getting an exception thrown on my Cipher.init: No installed …

java encryption cryptography aes secret-key
PKCS#1 and PKCS#8 format for RSA private key

Can some one help me understand how an RSA key literally is stored in these formats? I would like to …

cryptography rsa pki pkcs#1 pkcs#8
How can I create a random number that is cryptographically secure in python?

I'm making a project in python and I would like to create a random number that is cryptographically secure, How …

python random cryptography
Can one encrypt with a private key/decrypt with a public key?

[Disclaimer: I know, if you know anything about crypto you're probably about to tell me why I'm doing it wrong …

cryptography cookies openssl rsa
How to calculate the inverse key matrix in Hill Cipher algorithm?

I am finding it very hard to understand the way the inverse of the matrix is calculated in the Hill …

algorithm cryptography encryption matrix-inverse
basics of python encryption w/ hashlib sha1

I'm struggling to fully understand how encryption works and is coded, particularly with python. I'm just trying to get the …

python cryptography sha1 hmac hashlib
AES PKCS7 padding

I just start learning Bouncy Castle for AES encryption/decryption. I am using AES/CBC/PKCS7PADDING with 256-bit key. …

encryption cryptography aes bouncycastle pkcs#7