3 ms·
Go also has a very highly quality crypto implementation. It has all of the good-code features that gnutls lacks: comments that make sense, unit tests, automati
by thrownaway2424 13y ago
Go also has a very highly quality crypto implementation. It has all of the good-code features that gnutls lacks: comments that make sense, unit tests, automatic memory management (of course), useful types, etc.
Compare http://golang.org/src/pkg/crypto/x509/x509.go http://golang.org/src/pkg/crypto/x509/x509.go to https://www.gitorious.org/gnutls/gnutls/source/6aa26f78150ccbdf0aec1878a41c17c41d358a3b:lib/x509/verify.c https://www.gitorious.org/gnutls/gnutls/source/6aa26f78150cc...
- codygman 13y agoHere is the Haskell version (I think): http://hackage.haskell.org/package/x509-1.4.10/docs/src/Data-X509-Cert.html http://hackage.haskell.org/package/x509-1.4.10/docs/src/Data... http://hackage.haskell.org/package/x509-1.4.10/docs/src/Data-X509.html http://hackage.haskell.org/package/x509-1.4.10/docs/src/Data... Other imports/files can be seen at: http://hackage.haskell.org/package/x509-1.4.10/docs/src http://hackage.haskell.org/package/x509-1.4.10/docs/src