crypto: initialize transform lazily