crypto: use map for lazy require cache
I'm curious why this lazyRequire
function exists. wouldn't it be sufficient enough to call require
directly instead and achieve the same 'lazy' result?
if that's the case, I can spin up another PR or repurpose this one.