├── Dockerfile ├── Impl ├── EncryptThenMacImpl.md ├── HashAndEnemies.md ├── HkdfAndFriends.md ├── MacsImplementation.md ├── collision_different_thread.txt ├── collision_one_thread.txt ├── imgs │ ├── Extract-then-expand-model-for-KDFs_W640.jpg │ └── Single-phase-model-for-KDFs_W640.jpg ├── passwords.json ├── sigma-ec.md └── weather.json ├── LICENSE ├── README.md ├── ToDo ├── docs ├── BlockCipherModeImpl.md ├── CbcMacFixedKey.md ├── EcbDecryption.md ├── PaddingOracle.md ├── Sha1Mac.md ├── en_labEncryptionModeDist.md ├── img │ ├── cbcFixedIv.jpg │ ├── labCbcIvIsKeyAttack.jpg │ └── paddingOracle.jpg ├── labCbcFixedIvAttack.md ├── labCbcIvIsKeyAttack.md ├── labEncryptionModeDist.md ├── labHmacTiming.md ├── labOTP.md ├── labStreamIntegrity.md └── pdf │ ├── Forging a SHA-1-mac.docx │ └── Forging a SHA-1-mac.pdf └── src ├── .gitattributes ├── .gitignore ├── CryptoLabs.sln ├── CryptoLabsClient ├── CryptoLabsClient.csproj ├── Program.cs └── RestClient.cs └── CryptoLabsService ├── Crypto └── Aes128CounterMode.cs ├── CryptoLabsService.csproj ├── Helpers ├── CompareHelper.cs ├── DeterministicCryptoRandomGenerator.cs ├── HexHelper.cs ├── TokenHelper.cs └── TransformHelper.cs ├── Labs ├── CbcIvIsKey │ ├── CbcIvIsKeyManager.cs │ └── IvIsKeyController.cs ├── CbcIvIsTime │ ├── CbcIvIsTimeManager.cs │ └── IvIsTimeController.cs ├── CmcMacFixedKey │ ├── CbcMacFixedKeyController.cs │ └── CbcMacManager.cs ├── EcbDecryption │ └── EcbDecryptionController.cs ├── EncryptionModeOracle │ ├── BlockCipherOracleManager.cs │ └── EncryptionModeOracleController.cs ├── HmacTiming │ └── HmacTimingController.cs ├── PaddingOracle │ ├── PaddingOracleController.cs │ └── PaddingOracleManger.cs ├── Sha1Mac │ └── Sha1MacController.cs ├── StreamCipherIntegrity │ ├── StreamCipherIntegrityManager.cs │ └── StreamIntegrityController.cs └── TestController.cs ├── Program.cs ├── Properties ├── PublishProfiles │ └── FolderProfile.pubxml └── launchSettings.json ├── Startup.cs ├── appsettings.Development.json └── appsettings.json /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Dockerfile -------------------------------------------------------------------------------- /Impl/EncryptThenMacImpl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/EncryptThenMacImpl.md -------------------------------------------------------------------------------- /Impl/HashAndEnemies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/HashAndEnemies.md -------------------------------------------------------------------------------- /Impl/HkdfAndFriends.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/HkdfAndFriends.md -------------------------------------------------------------------------------- /Impl/MacsImplementation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/MacsImplementation.md -------------------------------------------------------------------------------- /Impl/collision_different_thread.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/collision_different_thread.txt -------------------------------------------------------------------------------- /Impl/collision_one_thread.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/collision_one_thread.txt -------------------------------------------------------------------------------- /Impl/imgs/Extract-then-expand-model-for-KDFs_W640.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/imgs/Extract-then-expand-model-for-KDFs_W640.jpg -------------------------------------------------------------------------------- /Impl/imgs/Single-phase-model-for-KDFs_W640.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/imgs/Single-phase-model-for-KDFs_W640.jpg -------------------------------------------------------------------------------- /Impl/passwords.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/passwords.json -------------------------------------------------------------------------------- /Impl/sigma-ec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/sigma-ec.md -------------------------------------------------------------------------------- /Impl/weather.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/Impl/weather.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/README.md -------------------------------------------------------------------------------- /ToDo: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /docs/BlockCipherModeImpl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/BlockCipherModeImpl.md -------------------------------------------------------------------------------- /docs/CbcMacFixedKey.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/CbcMacFixedKey.md -------------------------------------------------------------------------------- /docs/EcbDecryption.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/EcbDecryption.md -------------------------------------------------------------------------------- /docs/PaddingOracle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/PaddingOracle.md -------------------------------------------------------------------------------- /docs/Sha1Mac.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/Sha1Mac.md -------------------------------------------------------------------------------- /docs/en_labEncryptionModeDist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/en_labEncryptionModeDist.md -------------------------------------------------------------------------------- /docs/img/cbcFixedIv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/img/cbcFixedIv.jpg -------------------------------------------------------------------------------- /docs/img/labCbcIvIsKeyAttack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/img/labCbcIvIsKeyAttack.jpg -------------------------------------------------------------------------------- /docs/img/paddingOracle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/img/paddingOracle.jpg -------------------------------------------------------------------------------- /docs/labCbcFixedIvAttack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labCbcFixedIvAttack.md -------------------------------------------------------------------------------- /docs/labCbcIvIsKeyAttack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labCbcIvIsKeyAttack.md -------------------------------------------------------------------------------- /docs/labEncryptionModeDist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labEncryptionModeDist.md -------------------------------------------------------------------------------- /docs/labHmacTiming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labHmacTiming.md -------------------------------------------------------------------------------- /docs/labOTP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labOTP.md -------------------------------------------------------------------------------- /docs/labStreamIntegrity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/labStreamIntegrity.md -------------------------------------------------------------------------------- /docs/pdf/Forging a SHA-1-mac.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/pdf/Forging a SHA-1-mac.docx -------------------------------------------------------------------------------- /docs/pdf/Forging a SHA-1-mac.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/docs/pdf/Forging a SHA-1-mac.pdf -------------------------------------------------------------------------------- /src/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/.gitattributes -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/.gitignore -------------------------------------------------------------------------------- /src/CryptoLabs.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabs.sln -------------------------------------------------------------------------------- /src/CryptoLabsClient/CryptoLabsClient.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsClient/CryptoLabsClient.csproj -------------------------------------------------------------------------------- /src/CryptoLabsClient/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsClient/Program.cs -------------------------------------------------------------------------------- /src/CryptoLabsClient/RestClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsClient/RestClient.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Crypto/Aes128CounterMode.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Crypto/Aes128CounterMode.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/CryptoLabsService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/CryptoLabsService.csproj -------------------------------------------------------------------------------- /src/CryptoLabsService/Helpers/CompareHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Helpers/CompareHelper.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Helpers/DeterministicCryptoRandomGenerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Helpers/DeterministicCryptoRandomGenerator.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Helpers/HexHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Helpers/HexHelper.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Helpers/TokenHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Helpers/TokenHelper.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Helpers/TransformHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Helpers/TransformHelper.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CbcIvIsKey/CbcIvIsKeyManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CbcIvIsKey/CbcIvIsKeyManager.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CbcIvIsKey/IvIsKeyController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CbcIvIsKey/IvIsKeyController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CbcIvIsTime/CbcIvIsTimeManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CbcIvIsTime/CbcIvIsTimeManager.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CbcIvIsTime/IvIsTimeController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CbcIvIsTime/IvIsTimeController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CmcMacFixedKey/CbcMacFixedKeyController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CmcMacFixedKey/CbcMacFixedKeyController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/CmcMacFixedKey/CbcMacManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/CmcMacFixedKey/CbcMacManager.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/EcbDecryption/EcbDecryptionController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/EcbDecryption/EcbDecryptionController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/EncryptionModeOracle/BlockCipherOracleManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/EncryptionModeOracle/BlockCipherOracleManager.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/EncryptionModeOracle/EncryptionModeOracleController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/EncryptionModeOracle/EncryptionModeOracleController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/HmacTiming/HmacTimingController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/HmacTiming/HmacTimingController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/PaddingOracle/PaddingOracleController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/PaddingOracle/PaddingOracleController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/PaddingOracle/PaddingOracleManger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/PaddingOracle/PaddingOracleManger.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/Sha1Mac/Sha1MacController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/Sha1Mac/Sha1MacController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/StreamCipherIntegrity/StreamCipherIntegrityManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/StreamCipherIntegrity/StreamCipherIntegrityManager.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/StreamCipherIntegrity/StreamIntegrityController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/StreamCipherIntegrity/StreamIntegrityController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Labs/TestController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Labs/TestController.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Program.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Properties/PublishProfiles/FolderProfile.pubxml -------------------------------------------------------------------------------- /src/CryptoLabsService/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/CryptoLabsService/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/Startup.cs -------------------------------------------------------------------------------- /src/CryptoLabsService/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/appsettings.Development.json -------------------------------------------------------------------------------- /src/CryptoLabsService/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CryptoCourse/CryptoLabs/HEAD/src/CryptoLabsService/appsettings.json --------------------------------------------------------------------------------