ranjan: encrypt decrypt