Functional Encryption Resilient to Hard-to-Invert Leakage