Top "Cryptography" questions

CRYPTOGRAPHY MUST BE PROGRAMMING RELATED.

Calculating HMACSHA256 using c# to match payment provider example

For a payment provider, I need to calculate a hash-based message authentication code, using HMAC-SHA256. That is causing me quite …

c# security cryptography
How to store/retrieve RSA public/private key

I want to use RSA public key encryption. What is the best way to store or retrieve private and public …

c# .net cryptography rsa
verifying a file signature with openssl dgst

I am signing packets in some Java code and I want to verify the signatures on a C server. I …

cryptography openssl signing
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

I get an error when pip builds wheels for the cryptography package. Error: LINK : fatal error LNK1181: cannot open input …

python pip cryptography python-cryptography
Best practice for hashing passwords - SHA256 or SHA512?

I am currently using SHA256 with a salt to hash my passwords. Is it better to continue using SHA256 or …

hash cryptography passwords sha256 sha512
How can I list the available Cipher algorithms?

I am getting a Cipher implementation with Cipher.getInstance(String algorithm). I am under the impression that the available algorithm …

java encryption cryptography javax.crypto
Python: XOR hex strings

Possible Duplicate: bitwise XOR of hex numbers in python I am trying to XOR two hex strings in Python and …

python cryptography hex ascii xor
How to generate Rijndael KEY and IV using a passphrase?

How to generate Rijndael KEY and IV using a passphrase? The key length must be in 256 bits.

.net cryptography rijndael
How to get a MD5 hash from a string in Golang?

This is how I started to get a md5 hash from a string: import "crypto/md5" var original = "my string …

cryptography md5 go