Provide the password decrypt function in D8 version.