2

I have a Base64 string that I have to sign with SHA1withRSA or SHA1withDSA.

Can anybody give me a few hint about how to get this?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Ezequiel
  • 1,186
  • 2
  • 11
  • 11
  • possible duplicate of [Using SHA1 and RSA with java.security.Signature vs. MessageDigest and Cipher](http://stackoverflow.com/questions/521101/using-sha1-and-rsa-with-java-security-signature-vs-messagedigest-and-cipher) – Artjom B. Jun 09 '15 at 19:45

2 Answers2

0

Googling java sign sha1withdsa finds http://docstore.mik.ua/orelly/java-ent/jnut/ch04_13.htm as the 10th result.

chx
  • 11,270
  • 7
  • 55
  • 129
0

Keyczar uses SHA1 and DSA for its signing. That's probably a quite easy solution to use.

Yrlec
  • 3,401
  • 6
  • 39
  • 75