5

I need a module that can generate keypairs, compute secure hashes and crypt and sign data. Is there any that module? Or maybe there is interface for OpenSSL crypto functions ?

gordon-quad
  • 734
  • 5
  • 15

2 Answers2

1

sha2 modile for sha256

0xAX
  • 20,957
  • 26
  • 117
  • 206
1

Read crypto module first. Now it's NIF since R14A so you can find out what sort of OpenSSL C functions are used.

jj1bdx
  • 1,117
  • 1
  • 15
  • 32
  • I don't find in documentation for crypto module (http://www.erlang.org/doc/man/crypto.html - that doc?) any function that generates keypairs, SHA256 or ECDSA. – gordon-quad Dec 27 '10 at 11:46
  • Not all functions you listed are in the documentation. But at least when you read the lib/crypto/c_src/crypto.c you can find out how they are implemented with OpenSSL APIs. – jj1bdx Jan 01 '11 at 08:26