Using pwd for crypto to make it more clean