Last active
March 22, 2019 20:53
-
-
Save Taher-17/80f67398a53112761bc4232332e01000 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Privacy | |
By using Stealth VPN you agree to the following: | |
Stealth VPN does not collect or sell any and all user data. | |
We do not collect logs of websites you visit or your search history, this means everything you do when connected to Stealth VPN is secure, encrypted and not stored anywhere. | |
When connecting, we identify connection issues in order to debug them to make Stealth VPN better. | |
We use the following services in Stealth VPN: Firebase, Adsense, Fabric, Bugfender, Applovin and Unity Ads. | |
Generic information is used to debug connection issues with these services and none of your browsing information is ever logged or shared with anyone. | |
Terms | |
Innovative Digital Technologies and Stealth VPN have the right to remove access to any user attempting to gain Stealth VPN Pro (No Ads) for free. | |
Stealth VPN uses receipt validation in order to ensure you have a valid purchase, you may start receiving ads if receipt validation fails or you are jailbroken. | |
Stealth VPN will show you a new privacy policy if any changes occur. | |
*/ | |
Protocols | |
OpenVPN | |
Thanks to: "https://github.com/ss-abramchuk/OpenVPNAdapter" | |
lazy var vpnAdapter: OpenVPNAdapter = { | |
let adapter = OpenVPNAdapter() | |
adapter.delegate = self | |
return adapter | |
}() | |
Shadowsocks | |
Thanks to: "https://github.com/zhuhaow/NEKit" | |
Supported Methods | |
let obfuscater = ShadowsocksAdapter.ProtocolObfuscater.OriginProtocolObfuscater.Factory() | |
let algorithm: CryptoAlgorithm | |
switch method{ | |
case "AES-128-CFB":algorithm = .AES128CFB | |
case "AES-192-CFB":algorithm = .AES192CFB | |
case "AES-256-CFB":algorithm = .AES256CFB | |
case "CHACHA20":algorithm = .CHACHA20 | |
case "SALSA20":algorithm = .SALSA20 | |
case "RC4-MD5":algorithm = .RC4MD5 | |
default: | |
return | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment