Top "Cryptography" questions

CRYPTOGRAPHY MUST BE PROGRAMMING RELATED.

Generate SHA hash in C++ using OpenSSL library

How can I generate SHA1 or SHA2 hashes using the OpenSSL libarary? I searched google and could not find any …

c++ cryptography
How to convert BigInteger to String in java

I converted a String to BigInteger as follows: Scanner sc=new Scanner(System.in); System.out.println("enter the message"); …

java string cryptography biginteger
How long to brute force a salted SHA-512 hash? (salt provided)

Here is an algorithm in Java: public String getHash(String password, String salt) throws Exception { String input = password + salt; MessageDigest …

hash cryptography salt brute-force sha
What does a circled plus mean?

I cannot understand the calculation "66 ⊕ fa = 9c". The sum is clearly over "ff", so I am confused. The topic is …

math cryptography matrix
How to hash a string in Android?

I am working on an Android app and have a couple strings that I would like to encrypt before sending …

java android hash cryptography
How can I sign a file using RSA and SHA256 with .NET?

My application will take a set of files and sign them. (I'm not trying to sign an assembly.) There is …

c# .net cryptography openssl bouncycastle
How to create and use nonces

I am running a website, and there is a scoring system that gives you points for the number of times …

php actionscript-3 cryptography nonce
How do RSA tokens work?

I would like to understand how RSA tokens (SecurID) work, what is the algorithm used there, is it the same …

algorithm encryption cryptography rsa access-token
Difference between java.util.Random and java.security.SecureRandom

My team got handed over some server side code (in Java) that generates random tokens and I have a question …

java random cryptography security
What RSA key length should I use for my SSL certificates?

I'm in the process of creating a CSR, and I wonder which is arguably the best length for my RSA …

ssl cryptography rsa ssl-certificate csr