├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── lib └── phpSec │ ├── Auth │ ├── Authy.php │ ├── Google.php │ ├── Mnemonic.php │ ├── Otp.php │ ├── Otpcard.php │ └── Yubikey.php │ ├── Common │ ├── Cache.php │ ├── Exec.php │ ├── Session.php │ └── Token.php │ ├── Core.php │ ├── Crypt │ ├── Crypto.php │ ├── Hash.php │ └── Rand.php │ ├── Exception.php │ ├── Exception │ ├── GeneralSecurityException.php │ ├── IOException.php │ ├── InvalidAlgorithmParameterException.php │ ├── InvalidArgumentException.php │ └── InvalidKeySpecException.php │ ├── Http │ ├── Hsts.php │ ├── Url.php │ └── Xfo.php │ ├── Store │ ├── File.php │ ├── Pdo.php │ └── Store.php │ ├── String │ ├── Base32.php │ └── Compare.php │ └── Text │ └── Filter.php ├── phpunit.xml.dist └── tests └── phpSec ├── Auth ├── AuthyTest.php ├── GoogleTest.php ├── OtpTest.php └── YubikeyTest.php ├── Common ├── CacheTest.php ├── ExecTest.php └── TokenTest.php ├── Crypt ├── CryptoTest.php ├── HashTest.php └── RandTest.php ├── Http └── UrlTest.php ├── String └── CompareTest.php ├── Text └── FilterTest.php └── phpSecTest.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/composer.json -------------------------------------------------------------------------------- /lib/phpSec/Auth/Authy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Authy.php -------------------------------------------------------------------------------- /lib/phpSec/Auth/Google.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Google.php -------------------------------------------------------------------------------- /lib/phpSec/Auth/Mnemonic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Mnemonic.php -------------------------------------------------------------------------------- /lib/phpSec/Auth/Otp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Otp.php -------------------------------------------------------------------------------- /lib/phpSec/Auth/Otpcard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Otpcard.php -------------------------------------------------------------------------------- /lib/phpSec/Auth/Yubikey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Auth/Yubikey.php -------------------------------------------------------------------------------- /lib/phpSec/Common/Cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Common/Cache.php -------------------------------------------------------------------------------- /lib/phpSec/Common/Exec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Common/Exec.php -------------------------------------------------------------------------------- /lib/phpSec/Common/Session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Common/Session.php -------------------------------------------------------------------------------- /lib/phpSec/Common/Token.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Common/Token.php -------------------------------------------------------------------------------- /lib/phpSec/Core.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Core.php -------------------------------------------------------------------------------- /lib/phpSec/Crypt/Crypto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Crypt/Crypto.php -------------------------------------------------------------------------------- /lib/phpSec/Crypt/Hash.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Crypt/Hash.php -------------------------------------------------------------------------------- /lib/phpSec/Crypt/Rand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Crypt/Rand.php -------------------------------------------------------------------------------- /lib/phpSec/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception.php -------------------------------------------------------------------------------- /lib/phpSec/Exception/GeneralSecurityException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception/GeneralSecurityException.php -------------------------------------------------------------------------------- /lib/phpSec/Exception/IOException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception/IOException.php -------------------------------------------------------------------------------- /lib/phpSec/Exception/InvalidAlgorithmParameterException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception/InvalidAlgorithmParameterException.php -------------------------------------------------------------------------------- /lib/phpSec/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception/InvalidArgumentException.php -------------------------------------------------------------------------------- /lib/phpSec/Exception/InvalidKeySpecException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Exception/InvalidKeySpecException.php -------------------------------------------------------------------------------- /lib/phpSec/Http/Hsts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Http/Hsts.php -------------------------------------------------------------------------------- /lib/phpSec/Http/Url.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Http/Url.php -------------------------------------------------------------------------------- /lib/phpSec/Http/Xfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Http/Xfo.php -------------------------------------------------------------------------------- /lib/phpSec/Store/File.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Store/File.php -------------------------------------------------------------------------------- /lib/phpSec/Store/Pdo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Store/Pdo.php -------------------------------------------------------------------------------- /lib/phpSec/Store/Store.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Store/Store.php -------------------------------------------------------------------------------- /lib/phpSec/String/Base32.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/String/Base32.php -------------------------------------------------------------------------------- /lib/phpSec/String/Compare.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/String/Compare.php -------------------------------------------------------------------------------- /lib/phpSec/Text/Filter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/lib/phpSec/Text/Filter.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /tests/phpSec/Auth/AuthyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Auth/AuthyTest.php -------------------------------------------------------------------------------- /tests/phpSec/Auth/GoogleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Auth/GoogleTest.php -------------------------------------------------------------------------------- /tests/phpSec/Auth/OtpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Auth/OtpTest.php -------------------------------------------------------------------------------- /tests/phpSec/Auth/YubikeyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Auth/YubikeyTest.php -------------------------------------------------------------------------------- /tests/phpSec/Common/CacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Common/CacheTest.php -------------------------------------------------------------------------------- /tests/phpSec/Common/ExecTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Common/ExecTest.php -------------------------------------------------------------------------------- /tests/phpSec/Common/TokenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Common/TokenTest.php -------------------------------------------------------------------------------- /tests/phpSec/Crypt/CryptoTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Crypt/CryptoTest.php -------------------------------------------------------------------------------- /tests/phpSec/Crypt/HashTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Crypt/HashTest.php -------------------------------------------------------------------------------- /tests/phpSec/Crypt/RandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Crypt/RandTest.php -------------------------------------------------------------------------------- /tests/phpSec/Http/UrlTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Http/UrlTest.php -------------------------------------------------------------------------------- /tests/phpSec/String/CompareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/String/CompareTest.php -------------------------------------------------------------------------------- /tests/phpSec/Text/FilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/Text/FilterTest.php -------------------------------------------------------------------------------- /tests/phpSec/phpSecTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpsec/phpSec/HEAD/tests/phpSec/phpSecTest.php --------------------------------------------------------------------------------