switch to async encryption