Back to discussionComment by rishabhpoddar[-]rishabhpoddar5 years ago1 reply#Yes. It was using HMAC. But I would still assume that RSA would be much faster than a db lookup (in a distributed system)?WatchDog5 years ago#Perhaps, at least on the JDK[0] RSA can take a few ms, probably a fair bit faster with a native implementation though.[0] https://www.javamex.com/tutorials/cryptography/rsa_key_lengt...
rishabhpoddar5 years ago1 reply#Yes. It was using HMAC. But I would still assume that RSA would be much faster than a db lookup (in a distributed system)?
WatchDog5 years ago#Perhaps, at least on the JDK[0] RSA can take a few ms, probably a fair bit faster with a native implementation though.[0] https://www.javamex.com/tutorials/cryptography/rsa_key_lengt...
[0] https://www.javamex.com/tutorials/cryptography/rsa_key_lengt...