FAQ
The function (*PrivateKey) Validate in crypto/rsa takes about 475ms to
complete! This function is used when loading keys, which is not a big
problem if you only need to load them once when you start the server but a
big issue when you need to load keys on the fly. The Validate function is
automatically called by x509.ParsePKCS1PrivateKey.

I think it's related to the same math/big performance issues as we have
seen before.

https://groups.google.com/forum/#!topic/golang-nuts/u22Up7qN7WM

https://github.com/golang/go/issues/9244
https://github.com/golang/go/issues/9245

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJan 21, '15 at 4:53p
activeJan 22, '15 at 2:33p
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase