Questions tagged [dsa]

DSA (Digital Signature Algorithm) is a public-key signature algorithm defined by NIST. Do NOT use this tag for general "Data Structures and Algorithms" questions.

DSA (short for Digital Signature Algorithm) is a specific public-key cryptography algorithm to sign messages. It is specified by FIPS 186-3 published by NIST.

DSA is normally used to sign a digest, or in recent versions a digest.

Do NOT use this tag for general "Data Structures and Algorithms" questions!

195 questions
0
votes
0 answers

How to generate DSA signature keys for audio file in JAVA

I have a audio file(choose extension whatever is the easiest to work with). How to prepare data(a message in this code) for DSA algorithm? String alg = "DSA"; KeyPairGenerator kg = KeyPairGenerator.getInstance(alg);//pobranie instancji…
Yoda
  • 17,363
  • 67
  • 204
  • 344
0
votes
1 answer

methods DSA_do_verify and SHA1 (OpenSSL library for Windows)

i am working on a program to authenticate an ENC signature file by using OpenSSL for windows, and specifically methods DSA_do_verify(...) and SHA1(...) hash algorithm, but is having problems as the result from DSA_do_verify is always 0 (invalid). I…
Rei
  • 11
  • 4
0
votes
1 answer

Looking for Signing algorithm that creates 32 or 16 byte keys in Java

Cannot match up the size of key generated using public/private keys for licensing application. Ive written a self contained example that creates public/private key, create a license by signing user emailaddress with public key, and then check using…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
3 answers

DSACryptoServiceProvider.ToXmlString throws 'Invalid flags specified' exception

I'm trying to generate a key pair with DSACryptoServiceProvider. Here's the code: var cspParameters = new CspParameters(); cspParameters.Flags = CspProviderFlags.CreateEphemeralKey; cspParameters.KeyContainerName =…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
0
votes
1 answer

Not implemented yet: DSA public key

I'm writing both a server and an Android client application. The Android client sends measurements to the server. In order to ensure the data integrity, a digital signature is appended to each measurement. Since I need everything to be…
gleerman
  • 1,793
  • 4
  • 24
  • 38
-1
votes
1 answer

How to Calculate Fingerprint From SSH DSA Public Key in Java?

Similar to question How to Calculate Fingerprint From SSH RSA Public Key in Java? , I would like to know how to Calculate Fingerprint for a DSA Public Key. I've got the dsaPublicKey object. DSAPublicKey dsaPublicKey = (DSAPublicKey) publicKey;
linc01n
  • 418
  • 2
  • 6
  • 17
-1
votes
2 answers

DSA algorithm - digital signature

Last day I've spent on looking for correct Java implementation of DSA without using the java.secure and any other java.secure alike libraries(I've already used java.secure many times). I googled, went on wiki, but couldn't find precise and clear…
Yoda
  • 17,363
  • 67
  • 204
  • 344
-1
votes
1 answer

DSA data conversion in java

I would like like to check if the public key corresponds to the private key - is it correct. There is also no provider called BC. I have this implementation but i don't know what Utils.createFixedRandom() suppose to do. I don't have such a library…
Yoda
  • 17,363
  • 67
  • 204
  • 344
1 2 3
12
13