PHPSECLIB Performance Patch