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
1 answer

calculate time/space complexity while running program

I am trying different types of sorting algorithms and I understand the concept of asymptotic time and space complexity. I am wondering whether we can write some logic in the program itself to calculate the space/time complexity of that algorithm so…
Onki
  • 1,879
  • 6
  • 38
  • 58
0
votes
2 answers

How to read DER DSA private key to AsymmetricKeyParameter in bouncy castle (Java)

How to read DER file with private DSA key (4096 bit) into AsymmetricKeyParameter for usage in DSASigner ? The following code I tried: byte[] privateKeyBytes = FileUtils.readFileToByteArray(new File( "sign-key-private.der")); …
kulatamicuda
  • 1,603
  • 2
  • 21
  • 40
0
votes
1 answer

Verifying Signtatures, verifying returns false

I've searched forums and answers but I can't figure out my problem, I am trying to verify a signature , but it always returns false, am I doing something wrong? I generate the key, sign it and then verify it (the byte arrays are not null) public…
Student
  • 55
  • 2
  • 13
0
votes
1 answer

how to convert DSA private key to byte[] ?

Is there any way to convert DSA private key as string or byte[] in java?
user123
  • 71
  • 1
  • 2
  • 8
0
votes
2 answers

Passwordless SSH connection between linuxserver asks for password

I am trying to create a passwordless connect (with keys) between two linux boxes. I have done it 20 or 30 times before but this is the first time it is fighting me and trying it on a fresh install of Centos 7. I create the key, ssh-copy-id it over,…
0
votes
1 answer

Time to verify a signature on a long message

I'm studying the speed (time to verify) a signed message with RSA or DSA over different processors In this link, there are benchmarks for the time to verify a signature on a short message (59 bytes) http://bench.cr.yp.to/results-sign.html But I need…
ahammadz
  • 171
  • 2
  • 10
0
votes
2 answers

Self signed key certificate

I'm trying to figure out how to create an X.509 certificate containing a self-signed DSA public key (SSK) in C#. Having given up on the native C# crypto library which doesn't seem to allow this, I've been looking at the Bouncy Castle…
CompanyDroneFromSector7G
  • 4,291
  • 13
  • 54
  • 97
0
votes
1 answer

How to read a DICOM file of Dynamic DSA image

I have a Dynamic DSA image of DICOM format, it consists of a header of patient information etc and a series of X-ray image data to show the bone motion in only one file. Is there any method in librarys like VTK, ITK or GDCM can read this data out?
Cheery
  • 45
  • 6
0
votes
1 answer

Retrieve DSA key passphrase

I use dsa key with passphrase to login via ssh into CentOS 6 remote server. Unfortunately I forgot the passphrase. Is there a way to reset or retrieve passsphrase? I still do have access to root of remote server through webmin.
Chirag
  • 1,189
  • 2
  • 21
  • 43
0
votes
4 answers

Are .Net's and Java's DSA implementation compatible?

I am trying to digitally sign requests made by a mobile client running J2ME and want to verify the signature by the .Net Framework. Does anyone know if the implementations DSACryptoServiceProvider //.Net and Signature.getInstance("SHA1withDSA",…
Manu
  • 28,753
  • 28
  • 75
  • 83
0
votes
1 answer

C cast fails: cannot cast from void* to a C struct

Code : #include #include #include typedef struct singlylist *nodeptr; typedef struct singlylist *position; struct singlylist { int x; position next; } . typedef struct singlylist List; List L; int isempty(List…
0
votes
0 answers

Digital sign on data

I am trying to sign and verify text using DSA. I have written sample code to sign. But it doesn't work. Can you give a hand with this? This is a only a test because the idea is to sign data, record in a tag an when I read the tag I want to verify…
mike
  • 1
0
votes
1 answer

DSACryptoServiceProvider.ImportParameters 'Bad Data'

I'm testing the DSACryptoServiceProvider using the parameters given in FIPS PUB 186. When I attempt to import the public key parameters, I receive a 'Bad Data' error: Dim pString As String =…
ic3b3rg
  • 14,629
  • 4
  • 30
  • 53
0
votes
1 answer

Openssl Generate Public Asymmetric Key

I am trying to output the public EC key parameters Qx and Qy from OpenSSL CLI. Is this possible?
feederic
  • 29
  • 3
0
votes
1 answer

DSA and Public Key Exchange

I am trying to implement a licensing solution with DSA Algorithms for my application. Now here is what I have done: Generated a hardware key, taken its hash. Generated public and private keys. And encrypted my hash function with private key. I…
user1343318
  • 2,093
  • 6
  • 32
  • 59
1 2 3
12
13