|
|
| Author |
Message |
< Erlang ~ Is there a way to sign messages using the crypto library? |
| Bill M. |
Posted: Sun Jul 13, 2008 8:29 pm |
|
|
|
User
Joined: 06 Jun 2008
Posts: 24
Location: New York
|
Hello All:
I've looked at the crypto library, and I don't see any mechanism for signing messages, am I missing something?
I looked both at the documentation and the source, and
for 1.5.1.1 and I checked on-line for the newest docs,
and all I see are signature verification functions:
rsa_verify(Digest, Signature, Key) -> Verified
Types:
Verified = boolean()
Digest, Signature = MPint
Key = [E, N]
E, N = MPint
MPint = binary()
Verifies the digest and signature using the public key Key, using the crypto library function for RSA signature verification.
dss_verify(Digest, Signature, Key) -> Verified
Types:
Verified = boolean()
Digest, Signature = MPint
Key = [P, Q, G, Y]
P, Q, G, Y = MPint
MPint = binary()
Verifies the digest and signature using the public key Key, using the crypto library function for DSS signature verification.
However, there does not appear to be a corresponding signature generation function for either digital signature algorithm. OpenSSL has this (I knew this before I checked, but I checked, and sure enough it has it ).
I'm not sure who maintains this package, but could this be added to it?
Thanks:
Bill M. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|