decrypt functional.