updated phpseclib to latest version
revised codebase to utilize new library added some typehinting removed 3rd party enum and use PHPs method instead
revised codebase to utilize new library added some typehinting removed 3rd party enum and use PHPs method instead