Patch _GenerateSecureInteger Method.