diff --git a/FCS/.vscode/launch.json b/FCS/.vscode/launch.json deleted file mode 100644 index bf64779..0000000 --- a/FCS/.vscode/launch.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": ".NET Core Launch (console)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "build", - "program": "${workspaceFolder}/bin/Debug/netcoreapp2.0/FCS.dll", - "args": [], - "cwd": "${workspaceFolder}", - "console": "integratedTerminal", - "stopAtEntry": false, - "internalConsoleOptions": "openOnSessionStart" - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach", - "processId": "${command:pickProcess}" - } - ] -} \ No newline at end of file diff --git a/FCS/.vscode/tasks.json b/FCS/.vscode/tasks.json deleted file mode 100644 index 3189e13..0000000 --- a/FCS/.vscode/tasks.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "command": "dotnet", - "type": "process", - "args": [ - "build", - "${workspaceFolder}/FCS.csproj" - ], - "problemMatcher": "$msCompile" - } - ] -} \ No newline at end of file diff --git a/FCS/FCS.csproj b/FCS/FCS.csproj deleted file mode 100644 index 8e047a0..0000000 --- a/FCS/FCS.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - Exe - netcoreapp2.0 - - - diff --git a/FCS/Program.cs b/FCS/Program.cs deleted file mode 100644 index 8cb3ff8..0000000 --- a/FCS/Program.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Text; -using System.Linq; -namespace FCS -{ - class Program - { - static StringBuilder encoded=new StringBuilder(); - static void Main(string[] args) - { - while(true) - { - Console.Clear(); - Console.WriteLine("1. Zakoduj wiadomosc"); - Console.WriteLine("2. Odkoduj wiadomosc"); - Console.WriteLine("3. Wyjscie"); - int choice=0; - if(!int.TryParse(Console.ReadLine(),out choice)) - Console.WriteLine("Nieprawidlowe dane"); - else{ - Console.Clear(); - if(choice==1) - { - Console.WriteLine("Podaj wiadomosc do zaszyfrowania."); - string input =Console.ReadLine(); - byte[] bytes = BitConverter.GetBytes(EncodeCRT(input)); - Encoding.ASCII.GetBytes(input).ToList().ForEach(x=>{Console.Write(x+" ");}); - foreach(byte b in bytes) - Console.Write(b+" "); - Console.WriteLine(); - } - if(choice==2) - { - Console.WriteLine("Podaj wiadomosc do odkodowania.(kod ASCII odzielony spacjami wraz z checksum)"); - string input=Console.ReadLine(); - string[] asciiInput=input.Split(' '); - StringBuilder msg=new StringBuilder(); - for(int i=0;i> 1) ^ 0x8408); //Wykonuje XOR - else - crc >>= 1; - } - } - crc = (ushort)~crc; //negujemy - data = crc; - crc = (ushort)((crc << 8) ^ (data >> 8 & 0xFF)); - return crc; - } - - - } -} diff --git a/FCS/bin/Debug/netcoreapp2.0/FCS.deps.json b/FCS/bin/Debug/netcoreapp2.0/FCS.deps.json deleted file mode 100644 index 429d849..0000000 --- a/FCS/bin/Debug/netcoreapp2.0/FCS.deps.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v2.0", - "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v2.0": { - "FCS/1.0.0": { - "runtime": { - "FCS.dll": {} - } - } - } - }, - "libraries": { - "FCS/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" - } - } -} \ No newline at end of file diff --git a/FCS/bin/Debug/netcoreapp2.0/FCS.dll b/FCS/bin/Debug/netcoreapp2.0/FCS.dll deleted file mode 100644 index 434e37f..0000000 Binary files a/FCS/bin/Debug/netcoreapp2.0/FCS.dll and /dev/null differ diff --git a/FCS/bin/Debug/netcoreapp2.0/FCS.pdb b/FCS/bin/Debug/netcoreapp2.0/FCS.pdb deleted file mode 100644 index e2e691c..0000000 Binary files a/FCS/bin/Debug/netcoreapp2.0/FCS.pdb and /dev/null differ diff --git a/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.dev.json b/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.dev.json deleted file mode 100644 index 89b55cb..0000000 --- a/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.dev.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "runtimeOptions": { - "additionalProbingPaths": [ - "/home/piotrek/.dotnet/store/|arch|/|tfm|", - "/home/piotrek/.nuget/packages", - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ] - } -} \ No newline at end of file diff --git a/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.json b/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.json deleted file mode 100644 index 7539019..0000000 --- a/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "netcoreapp2.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "2.0.0" - } - } -} \ No newline at end of file diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfo.cs b/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfo.cs deleted file mode 100644 index af1f026..0000000 --- a/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("FCS")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("FCS")] -[assembly: System.Reflection.AssemblyTitleAttribute("FCS")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfoInputs.cache b/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfoInputs.cache deleted file mode 100644 index 77bde3a..0000000 --- a/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -d6e129d647cae90133ecd69184f8f4e639620de6 diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.CoreCompileInputs.cache b/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.CoreCompileInputs.cache deleted file mode 100644 index ff4be43..0000000 --- a/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -eb536e9c3e7822d620a07bc1467f8f72562eeca4 diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.FileListAbsolute.txt b/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.FileListAbsolute.txt deleted file mode 100644 index fc2bd69..0000000 --- a/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,22 +0,0 @@ -/home/piotrek/Projects/Studia/C Sharp/FCS/bin/Debug/netcoreapp2.0/FCS.deps.json -/home/piotrek/Projects/Studia/C Sharp/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.json -/home/piotrek/Projects/Studia/C Sharp/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.dev.json -/home/piotrek/Projects/Studia/C Sharp/FCS/bin/Debug/netcoreapp2.0/FCS.dll -/home/piotrek/Projects/Studia/C Sharp/FCS/bin/Debug/netcoreapp2.0/FCS.pdb -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.csprojAssemblyReference.cache -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.CoreCompileInputs.cache -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfoInputs.cache -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfo.cs -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.dll -/home/piotrek/Projects/Studia/C Sharp/FCS/obj/Debug/netcoreapp2.0/FCS.pdb -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/bin/Debug/netcoreapp2.0/FCS.deps.json -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.json -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/bin/Debug/netcoreapp2.0/FCS.runtimeconfig.dev.json -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/bin/Debug/netcoreapp2.0/FCS.dll -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/bin/Debug/netcoreapp2.0/FCS.pdb -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.csprojAssemblyReference.cache -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.csproj.CoreCompileInputs.cache -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfoInputs.cache -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.AssemblyInfo.cs -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.dll -/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/Debug/netcoreapp2.0/FCS.pdb diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.csprojAssemblyReference.cache b/FCS/obj/Debug/netcoreapp2.0/FCS.csprojAssemblyReference.cache deleted file mode 100644 index ed1fb63..0000000 Binary files a/FCS/obj/Debug/netcoreapp2.0/FCS.csprojAssemblyReference.cache and /dev/null differ diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.csprojResolveAssemblyReference.cache b/FCS/obj/Debug/netcoreapp2.0/FCS.csprojResolveAssemblyReference.cache deleted file mode 100644 index 4beda85..0000000 Binary files a/FCS/obj/Debug/netcoreapp2.0/FCS.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.dll b/FCS/obj/Debug/netcoreapp2.0/FCS.dll deleted file mode 100644 index 434e37f..0000000 Binary files a/FCS/obj/Debug/netcoreapp2.0/FCS.dll and /dev/null differ diff --git a/FCS/obj/Debug/netcoreapp2.0/FCS.pdb b/FCS/obj/Debug/netcoreapp2.0/FCS.pdb deleted file mode 100644 index e2e691c..0000000 Binary files a/FCS/obj/Debug/netcoreapp2.0/FCS.pdb and /dev/null differ diff --git a/FCS/obj/FCS.csproj.nuget.cache b/FCS/obj/FCS.csproj.nuget.cache deleted file mode 100644 index 113cec0..0000000 --- a/FCS/obj/FCS.csproj.nuget.cache +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 1, - "dgSpecHash": "MruLJ7UwwmFOlfg5rdQcsBRd7Yu01y0m9VtqhmI6ypiOPOcm7AcF0h4MA3XwLshtncwvcbDN9tCkIFSXX5s6KA==", - "success": true -} \ No newline at end of file diff --git a/FCS/obj/FCS.csproj.nuget.g.props b/FCS/obj/FCS.csproj.nuget.g.props deleted file mode 100644 index eba745d..0000000 --- a/FCS/obj/FCS.csproj.nuget.g.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - True - NuGet - /home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/project.assets.json - /home/piotrek/.nuget/packages/ - /home/piotrek/.nuget/packages/;/usr/share/dotnet/sdk/NuGetFallbackFolder - PackageReference - 4.7.0 - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - \ No newline at end of file diff --git a/FCS/obj/FCS.csproj.nuget.g.targets b/FCS/obj/FCS.csproj.nuget.g.targets deleted file mode 100644 index 5d46006..0000000 --- a/FCS/obj/FCS.csproj.nuget.g.targets +++ /dev/null @@ -1,10 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - \ No newline at end of file diff --git a/FCS/obj/project.assets.json b/FCS/obj/project.assets.json deleted file mode 100644 index 3b786db..0000000 --- a/FCS/obj/project.assets.json +++ /dev/null @@ -1,719 +0,0 @@ -{ - "version": 3, - "targets": { - ".NETCoreApp,Version=v2.0": { - "Microsoft.NETCore.App/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.NETCore.DotNetHostPolicy": "2.0.0", - "Microsoft.NETCore.Platforms": "2.0.0", - "NETStandard.Library": "2.0.0" - }, - "compile": { - "ref/netcoreapp2.0/Microsoft.CSharp.dll": {}, - "ref/netcoreapp2.0/Microsoft.VisualBasic.dll": {}, - "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll": {}, - "ref/netcoreapp2.0/System.AppContext.dll": {}, - "ref/netcoreapp2.0/System.Buffers.dll": {}, - "ref/netcoreapp2.0/System.Collections.Concurrent.dll": {}, - "ref/netcoreapp2.0/System.Collections.Immutable.dll": {}, - "ref/netcoreapp2.0/System.Collections.NonGeneric.dll": {}, - "ref/netcoreapp2.0/System.Collections.Specialized.dll": {}, - "ref/netcoreapp2.0/System.Collections.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.Composition.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll": {}, - "ref/netcoreapp2.0/System.ComponentModel.dll": {}, - "ref/netcoreapp2.0/System.Configuration.dll": {}, - "ref/netcoreapp2.0/System.Console.dll": {}, - "ref/netcoreapp2.0/System.Core.dll": {}, - "ref/netcoreapp2.0/System.Data.Common.dll": {}, - "ref/netcoreapp2.0/System.Data.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.Debug.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.Process.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.Tools.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll": {}, - "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll": {}, - "ref/netcoreapp2.0/System.Drawing.Primitives.dll": {}, - "ref/netcoreapp2.0/System.Drawing.dll": {}, - "ref/netcoreapp2.0/System.Dynamic.Runtime.dll": {}, - "ref/netcoreapp2.0/System.Globalization.Calendars.dll": {}, - "ref/netcoreapp2.0/System.Globalization.Extensions.dll": {}, - "ref/netcoreapp2.0/System.Globalization.dll": {}, - "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll": {}, - "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll": {}, - "ref/netcoreapp2.0/System.IO.Compression.dll": {}, - "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll": {}, - "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll": {}, - "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll": {}, - "ref/netcoreapp2.0/System.IO.FileSystem.dll": {}, - "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll": {}, - "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll": {}, - "ref/netcoreapp2.0/System.IO.Pipes.dll": {}, - "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll": {}, - "ref/netcoreapp2.0/System.IO.dll": {}, - "ref/netcoreapp2.0/System.Linq.Expressions.dll": {}, - "ref/netcoreapp2.0/System.Linq.Parallel.dll": {}, - "ref/netcoreapp2.0/System.Linq.Queryable.dll": {}, - "ref/netcoreapp2.0/System.Linq.dll": {}, - "ref/netcoreapp2.0/System.Net.Http.dll": {}, - "ref/netcoreapp2.0/System.Net.HttpListener.dll": {}, - "ref/netcoreapp2.0/System.Net.Mail.dll": {}, - "ref/netcoreapp2.0/System.Net.NameResolution.dll": {}, - "ref/netcoreapp2.0/System.Net.NetworkInformation.dll": {}, - "ref/netcoreapp2.0/System.Net.Ping.dll": {}, - "ref/netcoreapp2.0/System.Net.Primitives.dll": {}, - "ref/netcoreapp2.0/System.Net.Requests.dll": {}, - "ref/netcoreapp2.0/System.Net.Security.dll": {}, - "ref/netcoreapp2.0/System.Net.ServicePoint.dll": {}, - "ref/netcoreapp2.0/System.Net.Sockets.dll": {}, - "ref/netcoreapp2.0/System.Net.WebClient.dll": {}, - "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll": {}, - "ref/netcoreapp2.0/System.Net.WebProxy.dll": {}, - "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll": {}, - "ref/netcoreapp2.0/System.Net.WebSockets.dll": {}, - "ref/netcoreapp2.0/System.Net.dll": {}, - "ref/netcoreapp2.0/System.Numerics.Vectors.dll": {}, - "ref/netcoreapp2.0/System.Numerics.dll": {}, - "ref/netcoreapp2.0/System.ObjectModel.dll": {}, - "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Emit.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Extensions.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Metadata.dll": {}, - "ref/netcoreapp2.0/System.Reflection.Primitives.dll": {}, - "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll": {}, - "ref/netcoreapp2.0/System.Reflection.dll": {}, - "ref/netcoreapp2.0/System.Resources.Reader.dll": {}, - "ref/netcoreapp2.0/System.Resources.ResourceManager.dll": {}, - "ref/netcoreapp2.0/System.Resources.Writer.dll": {}, - "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Extensions.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Handles.dll": {}, - "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll": {}, - "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll": {}, - "ref/netcoreapp2.0/System.Runtime.InteropServices.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Loader.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Numerics.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll": {}, - "ref/netcoreapp2.0/System.Runtime.Serialization.dll": {}, - "ref/netcoreapp2.0/System.Runtime.dll": {}, - "ref/netcoreapp2.0/System.Security.Claims.dll": {}, - "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll": {}, - "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll": {}, - "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll": {}, - "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll": {}, - "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll": {}, - "ref/netcoreapp2.0/System.Security.Principal.dll": {}, - "ref/netcoreapp2.0/System.Security.SecureString.dll": {}, - "ref/netcoreapp2.0/System.Security.dll": {}, - "ref/netcoreapp2.0/System.ServiceModel.Web.dll": {}, - "ref/netcoreapp2.0/System.ServiceProcess.dll": {}, - "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll": {}, - "ref/netcoreapp2.0/System.Text.Encoding.dll": {}, - "ref/netcoreapp2.0/System.Text.RegularExpressions.dll": {}, - "ref/netcoreapp2.0/System.Threading.Overlapped.dll": {}, - "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll": {}, - "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll": {}, - "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll": {}, - "ref/netcoreapp2.0/System.Threading.Tasks.dll": {}, - "ref/netcoreapp2.0/System.Threading.Thread.dll": {}, - "ref/netcoreapp2.0/System.Threading.ThreadPool.dll": {}, - "ref/netcoreapp2.0/System.Threading.Timer.dll": {}, - "ref/netcoreapp2.0/System.Threading.dll": {}, - "ref/netcoreapp2.0/System.Transactions.Local.dll": {}, - "ref/netcoreapp2.0/System.Transactions.dll": {}, - "ref/netcoreapp2.0/System.ValueTuple.dll": {}, - "ref/netcoreapp2.0/System.Web.HttpUtility.dll": {}, - "ref/netcoreapp2.0/System.Web.dll": {}, - "ref/netcoreapp2.0/System.Windows.dll": {}, - "ref/netcoreapp2.0/System.Xml.Linq.dll": {}, - "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll": {}, - "ref/netcoreapp2.0/System.Xml.Serialization.dll": {}, - "ref/netcoreapp2.0/System.Xml.XDocument.dll": {}, - "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll": {}, - "ref/netcoreapp2.0/System.Xml.XPath.dll": {}, - "ref/netcoreapp2.0/System.Xml.XmlDocument.dll": {}, - "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll": {}, - "ref/netcoreapp2.0/System.Xml.dll": {}, - "ref/netcoreapp2.0/System.dll": {}, - "ref/netcoreapp2.0/WindowsBase.dll": {}, - "ref/netcoreapp2.0/mscorlib.dll": {}, - "ref/netcoreapp2.0/netstandard.dll": {} - }, - "build": { - "build/netcoreapp2.0/Microsoft.NETCore.App.props": {}, - "build/netcoreapp2.0/Microsoft.NETCore.App.targets": {} - } - }, - "Microsoft.NETCore.DotNetAppHost/2.0.0": { - "type": "package" - }, - "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.NETCore.DotNetHostResolver": "2.0.0" - } - }, - "Microsoft.NETCore.DotNetHostResolver/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.NETCore.DotNetAppHost": "2.0.0" - } - }, - "Microsoft.NETCore.Platforms/2.0.0": { - "type": "package", - "compile": { - "lib/netstandard1.0/_._": {} - }, - "runtime": { - "lib/netstandard1.0/_._": {} - } - }, - "NETStandard.Library/2.0.0": { - "type": "package", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0" - }, - "compile": { - "lib/netstandard1.0/_._": {} - }, - "runtime": { - "lib/netstandard1.0/_._": {} - }, - "build": { - "build/netstandard2.0/NETStandard.Library.targets": {} - } - } - } - }, - "libraries": { - "Microsoft.NETCore.App/2.0.0": { - "sha512": "/mzXF+UtZef+VpzzN88EpvFq5U6z4rj54ZMq/J968H6pcvyLOmcupmTRpJ3CJm8ILoCGh9WI7qpDdiKtuzswrQ==", - "type": "package", - "path": "microsoft.netcore.app/2.0.0", - "files": [ - "LICENSE.TXT", - "Microsoft.NETCore.App.versions.txt", - "THIRD-PARTY-NOTICES.TXT", - "build/netcoreapp2.0/Microsoft.NETCore.App.PlatformManifest.txt", - "build/netcoreapp2.0/Microsoft.NETCore.App.props", - "build/netcoreapp2.0/Microsoft.NETCore.App.targets", - "microsoft.netcore.app.2.0.0.nupkg.sha512", - "microsoft.netcore.app.nuspec", - "ref/netcoreapp/_._", - "ref/netcoreapp2.0/Microsoft.CSharp.dll", - "ref/netcoreapp2.0/Microsoft.CSharp.xml", - "ref/netcoreapp2.0/Microsoft.VisualBasic.dll", - "ref/netcoreapp2.0/Microsoft.VisualBasic.xml", - "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll", - "ref/netcoreapp2.0/Microsoft.Win32.Primitives.xml", - "ref/netcoreapp2.0/System.AppContext.dll", - "ref/netcoreapp2.0/System.AppContext.xml", - "ref/netcoreapp2.0/System.Buffers.dll", - "ref/netcoreapp2.0/System.Buffers.xml", - "ref/netcoreapp2.0/System.Collections.Concurrent.dll", - "ref/netcoreapp2.0/System.Collections.Concurrent.xml", - "ref/netcoreapp2.0/System.Collections.Immutable.dll", - "ref/netcoreapp2.0/System.Collections.Immutable.xml", - "ref/netcoreapp2.0/System.Collections.NonGeneric.dll", - "ref/netcoreapp2.0/System.Collections.NonGeneric.xml", - "ref/netcoreapp2.0/System.Collections.Specialized.dll", - "ref/netcoreapp2.0/System.Collections.Specialized.xml", - "ref/netcoreapp2.0/System.Collections.dll", - "ref/netcoreapp2.0/System.Collections.xml", - "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll", - "ref/netcoreapp2.0/System.ComponentModel.Annotations.xml", - "ref/netcoreapp2.0/System.ComponentModel.Composition.dll", - "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll", - "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll", - "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.xml", - "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll", - "ref/netcoreapp2.0/System.ComponentModel.Primitives.xml", - "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll", - "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.xml", - "ref/netcoreapp2.0/System.ComponentModel.dll", - "ref/netcoreapp2.0/System.ComponentModel.xml", - "ref/netcoreapp2.0/System.Configuration.dll", - "ref/netcoreapp2.0/System.Console.dll", - "ref/netcoreapp2.0/System.Console.xml", - "ref/netcoreapp2.0/System.Core.dll", - "ref/netcoreapp2.0/System.Data.Common.dll", - "ref/netcoreapp2.0/System.Data.Common.xml", - "ref/netcoreapp2.0/System.Data.dll", - "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll", - "ref/netcoreapp2.0/System.Diagnostics.Contracts.xml", - "ref/netcoreapp2.0/System.Diagnostics.Debug.dll", - "ref/netcoreapp2.0/System.Diagnostics.Debug.xml", - "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll", - "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.xml", - "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll", - "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.xml", - "ref/netcoreapp2.0/System.Diagnostics.Process.dll", - "ref/netcoreapp2.0/System.Diagnostics.Process.xml", - "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll", - "ref/netcoreapp2.0/System.Diagnostics.StackTrace.xml", - "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll", - "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.xml", - "ref/netcoreapp2.0/System.Diagnostics.Tools.dll", - "ref/netcoreapp2.0/System.Diagnostics.Tools.xml", - "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll", - "ref/netcoreapp2.0/System.Diagnostics.TraceSource.xml", - "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll", - "ref/netcoreapp2.0/System.Diagnostics.Tracing.xml", - "ref/netcoreapp2.0/System.Drawing.Primitives.dll", - "ref/netcoreapp2.0/System.Drawing.Primitives.xml", - "ref/netcoreapp2.0/System.Drawing.dll", - "ref/netcoreapp2.0/System.Dynamic.Runtime.dll", - "ref/netcoreapp2.0/System.Dynamic.Runtime.xml", - "ref/netcoreapp2.0/System.Globalization.Calendars.dll", - "ref/netcoreapp2.0/System.Globalization.Calendars.xml", - "ref/netcoreapp2.0/System.Globalization.Extensions.dll", - "ref/netcoreapp2.0/System.Globalization.Extensions.xml", - "ref/netcoreapp2.0/System.Globalization.dll", - "ref/netcoreapp2.0/System.Globalization.xml", - "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll", - "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll", - "ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml", - "ref/netcoreapp2.0/System.IO.Compression.dll", - "ref/netcoreapp2.0/System.IO.Compression.xml", - "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll", - "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.xml", - "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll", - "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.xml", - "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll", - "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.xml", - "ref/netcoreapp2.0/System.IO.FileSystem.dll", - "ref/netcoreapp2.0/System.IO.FileSystem.xml", - "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll", - "ref/netcoreapp2.0/System.IO.IsolatedStorage.xml", - "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll", - "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.xml", - "ref/netcoreapp2.0/System.IO.Pipes.dll", - "ref/netcoreapp2.0/System.IO.Pipes.xml", - "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll", - "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.xml", - "ref/netcoreapp2.0/System.IO.dll", - "ref/netcoreapp2.0/System.IO.xml", - "ref/netcoreapp2.0/System.Linq.Expressions.dll", - "ref/netcoreapp2.0/System.Linq.Expressions.xml", - "ref/netcoreapp2.0/System.Linq.Parallel.dll", - "ref/netcoreapp2.0/System.Linq.Parallel.xml", - "ref/netcoreapp2.0/System.Linq.Queryable.dll", - "ref/netcoreapp2.0/System.Linq.Queryable.xml", - "ref/netcoreapp2.0/System.Linq.dll", - "ref/netcoreapp2.0/System.Linq.xml", - "ref/netcoreapp2.0/System.Net.Http.dll", - "ref/netcoreapp2.0/System.Net.Http.xml", - "ref/netcoreapp2.0/System.Net.HttpListener.dll", - "ref/netcoreapp2.0/System.Net.HttpListener.xml", - "ref/netcoreapp2.0/System.Net.Mail.dll", - "ref/netcoreapp2.0/System.Net.Mail.xml", - "ref/netcoreapp2.0/System.Net.NameResolution.dll", - "ref/netcoreapp2.0/System.Net.NameResolution.xml", - "ref/netcoreapp2.0/System.Net.NetworkInformation.dll", - "ref/netcoreapp2.0/System.Net.NetworkInformation.xml", - "ref/netcoreapp2.0/System.Net.Ping.dll", - "ref/netcoreapp2.0/System.Net.Ping.xml", - "ref/netcoreapp2.0/System.Net.Primitives.dll", - "ref/netcoreapp2.0/System.Net.Primitives.xml", - "ref/netcoreapp2.0/System.Net.Requests.dll", - "ref/netcoreapp2.0/System.Net.Requests.xml", - "ref/netcoreapp2.0/System.Net.Security.dll", - "ref/netcoreapp2.0/System.Net.Security.xml", - "ref/netcoreapp2.0/System.Net.ServicePoint.dll", - "ref/netcoreapp2.0/System.Net.ServicePoint.xml", - "ref/netcoreapp2.0/System.Net.Sockets.dll", - "ref/netcoreapp2.0/System.Net.Sockets.xml", - "ref/netcoreapp2.0/System.Net.WebClient.dll", - "ref/netcoreapp2.0/System.Net.WebClient.xml", - "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll", - "ref/netcoreapp2.0/System.Net.WebHeaderCollection.xml", - "ref/netcoreapp2.0/System.Net.WebProxy.dll", - "ref/netcoreapp2.0/System.Net.WebProxy.xml", - "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll", - "ref/netcoreapp2.0/System.Net.WebSockets.Client.xml", - "ref/netcoreapp2.0/System.Net.WebSockets.dll", - "ref/netcoreapp2.0/System.Net.WebSockets.xml", - "ref/netcoreapp2.0/System.Net.dll", - "ref/netcoreapp2.0/System.Numerics.Vectors.dll", - "ref/netcoreapp2.0/System.Numerics.Vectors.xml", - "ref/netcoreapp2.0/System.Numerics.dll", - "ref/netcoreapp2.0/System.ObjectModel.dll", - "ref/netcoreapp2.0/System.ObjectModel.xml", - "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll", - "ref/netcoreapp2.0/System.Reflection.DispatchProxy.xml", - "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll", - "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.xml", - "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll", - "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.xml", - "ref/netcoreapp2.0/System.Reflection.Emit.dll", - "ref/netcoreapp2.0/System.Reflection.Emit.xml", - "ref/netcoreapp2.0/System.Reflection.Extensions.dll", - "ref/netcoreapp2.0/System.Reflection.Extensions.xml", - "ref/netcoreapp2.0/System.Reflection.Metadata.dll", - "ref/netcoreapp2.0/System.Reflection.Metadata.xml", - "ref/netcoreapp2.0/System.Reflection.Primitives.dll", - "ref/netcoreapp2.0/System.Reflection.Primitives.xml", - "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll", - "ref/netcoreapp2.0/System.Reflection.TypeExtensions.xml", - "ref/netcoreapp2.0/System.Reflection.dll", - "ref/netcoreapp2.0/System.Reflection.xml", - "ref/netcoreapp2.0/System.Resources.Reader.dll", - "ref/netcoreapp2.0/System.Resources.Reader.xml", - "ref/netcoreapp2.0/System.Resources.ResourceManager.dll", - "ref/netcoreapp2.0/System.Resources.ResourceManager.xml", - "ref/netcoreapp2.0/System.Resources.Writer.dll", - "ref/netcoreapp2.0/System.Resources.Writer.xml", - "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll", - "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.xml", - "ref/netcoreapp2.0/System.Runtime.Extensions.dll", - "ref/netcoreapp2.0/System.Runtime.Extensions.xml", - "ref/netcoreapp2.0/System.Runtime.Handles.dll", - "ref/netcoreapp2.0/System.Runtime.Handles.xml", - "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll", - "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.xml", - "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll", - "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.xml", - "ref/netcoreapp2.0/System.Runtime.InteropServices.dll", - "ref/netcoreapp2.0/System.Runtime.InteropServices.xml", - "ref/netcoreapp2.0/System.Runtime.Loader.dll", - "ref/netcoreapp2.0/System.Runtime.Loader.xml", - "ref/netcoreapp2.0/System.Runtime.Numerics.dll", - "ref/netcoreapp2.0/System.Runtime.Numerics.xml", - "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll", - "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.xml", - "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll", - "ref/netcoreapp2.0/System.Runtime.Serialization.Json.xml", - "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll", - "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.xml", - "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll", - "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.xml", - "ref/netcoreapp2.0/System.Runtime.Serialization.dll", - "ref/netcoreapp2.0/System.Runtime.dll", - "ref/netcoreapp2.0/System.Runtime.xml", - "ref/netcoreapp2.0/System.Security.Claims.dll", - "ref/netcoreapp2.0/System.Security.Claims.xml", - "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll", - "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.xml", - "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll", - "ref/netcoreapp2.0/System.Security.Cryptography.Csp.xml", - "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll", - "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.xml", - "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll", - "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.xml", - "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll", - "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.xml", - "ref/netcoreapp2.0/System.Security.Principal.dll", - "ref/netcoreapp2.0/System.Security.Principal.xml", - "ref/netcoreapp2.0/System.Security.SecureString.dll", - "ref/netcoreapp2.0/System.Security.SecureString.xml", - "ref/netcoreapp2.0/System.Security.dll", - "ref/netcoreapp2.0/System.ServiceModel.Web.dll", - "ref/netcoreapp2.0/System.ServiceProcess.dll", - "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll", - "ref/netcoreapp2.0/System.Text.Encoding.Extensions.xml", - "ref/netcoreapp2.0/System.Text.Encoding.dll", - "ref/netcoreapp2.0/System.Text.Encoding.xml", - "ref/netcoreapp2.0/System.Text.RegularExpressions.dll", - "ref/netcoreapp2.0/System.Text.RegularExpressions.xml", - "ref/netcoreapp2.0/System.Threading.Overlapped.dll", - "ref/netcoreapp2.0/System.Threading.Overlapped.xml", - "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll", - "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.xml", - "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll", - "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.xml", - "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll", - "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.xml", - "ref/netcoreapp2.0/System.Threading.Tasks.dll", - "ref/netcoreapp2.0/System.Threading.Tasks.xml", - "ref/netcoreapp2.0/System.Threading.Thread.dll", - "ref/netcoreapp2.0/System.Threading.Thread.xml", - "ref/netcoreapp2.0/System.Threading.ThreadPool.dll", - "ref/netcoreapp2.0/System.Threading.ThreadPool.xml", - "ref/netcoreapp2.0/System.Threading.Timer.dll", - "ref/netcoreapp2.0/System.Threading.Timer.xml", - "ref/netcoreapp2.0/System.Threading.dll", - "ref/netcoreapp2.0/System.Threading.xml", - "ref/netcoreapp2.0/System.Transactions.Local.dll", - "ref/netcoreapp2.0/System.Transactions.Local.xml", - "ref/netcoreapp2.0/System.Transactions.dll", - "ref/netcoreapp2.0/System.ValueTuple.dll", - "ref/netcoreapp2.0/System.ValueTuple.xml", - "ref/netcoreapp2.0/System.Web.HttpUtility.dll", - "ref/netcoreapp2.0/System.Web.HttpUtility.xml", - "ref/netcoreapp2.0/System.Web.dll", - "ref/netcoreapp2.0/System.Windows.dll", - "ref/netcoreapp2.0/System.Xml.Linq.dll", - "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll", - "ref/netcoreapp2.0/System.Xml.ReaderWriter.xml", - "ref/netcoreapp2.0/System.Xml.Serialization.dll", - "ref/netcoreapp2.0/System.Xml.XDocument.dll", - "ref/netcoreapp2.0/System.Xml.XDocument.xml", - "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll", - "ref/netcoreapp2.0/System.Xml.XPath.XDocument.xml", - "ref/netcoreapp2.0/System.Xml.XPath.dll", - "ref/netcoreapp2.0/System.Xml.XPath.xml", - "ref/netcoreapp2.0/System.Xml.XmlDocument.dll", - "ref/netcoreapp2.0/System.Xml.XmlDocument.xml", - "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll", - "ref/netcoreapp2.0/System.Xml.XmlSerializer.xml", - "ref/netcoreapp2.0/System.Xml.dll", - "ref/netcoreapp2.0/System.dll", - "ref/netcoreapp2.0/WindowsBase.dll", - "ref/netcoreapp2.0/mscorlib.dll", - "ref/netcoreapp2.0/netstandard.dll", - "runtime.json" - ] - }, - "Microsoft.NETCore.DotNetAppHost/2.0.0": { - "sha512": "L4GGkcI/Mxl8PKLRpFdGmLb5oI8sGIR05bDTGkzCoamAjdUl1Zhkov2swjEsZvKYT8kkdiz39LtwyGYuCJxm1A==", - "type": "package", - "path": "microsoft.netcore.dotnetapphost/2.0.0", - "files": [ - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "microsoft.netcore.dotnetapphost.2.0.0.nupkg.sha512", - "microsoft.netcore.dotnetapphost.nuspec", - "runtime.json" - ] - }, - "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { - "sha512": "rm7mMn0A93fwyAwVhbyOCcPuu2hZNL0A0dAur9sNG9pEkONPfCEQeF7m2mC8KpqZO0Ol6tpV5J0AF3HTXT3GXA==", - "type": "package", - "path": "microsoft.netcore.dotnethostpolicy/2.0.0", - "files": [ - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "microsoft.netcore.dotnethostpolicy.2.0.0.nupkg.sha512", - "microsoft.netcore.dotnethostpolicy.nuspec", - "runtime.json" - ] - }, - "Microsoft.NETCore.DotNetHostResolver/2.0.0": { - "sha512": "uBbjpeSrwsaTCADZCzRk+3aBzNnMqkC4zftJWBsL+Zk+8u+W+/lMb2thM5Y4hiVrv1YQg9t6dKldXzOKkY+pQw==", - "type": "package", - "path": "microsoft.netcore.dotnethostresolver/2.0.0", - "files": [ - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "microsoft.netcore.dotnethostresolver.2.0.0.nupkg.sha512", - "microsoft.netcore.dotnethostresolver.nuspec", - "runtime.json" - ] - }, - "Microsoft.NETCore.Platforms/2.0.0": { - "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", - "type": "package", - "path": "microsoft.netcore.platforms/2.0.0", - "files": [ - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/netstandard1.0/_._", - "microsoft.netcore.platforms.2.0.0.nupkg.sha512", - "microsoft.netcore.platforms.nuspec", - "runtime.json", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "NETStandard.Library/2.0.0": { - "sha512": "7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==", - "type": "package", - "path": "netstandard.library/2.0.0", - "files": [ - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "build/NETStandard.Library.targets", - "build/netstandard2.0/NETStandard.Library.targets", - "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", - "build/netstandard2.0/ref/System.AppContext.dll", - "build/netstandard2.0/ref/System.Collections.Concurrent.dll", - "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", - "build/netstandard2.0/ref/System.Collections.Specialized.dll", - "build/netstandard2.0/ref/System.Collections.dll", - "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", - "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", - "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", - "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", - "build/netstandard2.0/ref/System.ComponentModel.dll", - "build/netstandard2.0/ref/System.Console.dll", - "build/netstandard2.0/ref/System.Core.dll", - "build/netstandard2.0/ref/System.Data.Common.dll", - "build/netstandard2.0/ref/System.Data.dll", - "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", - "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", - "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", - "build/netstandard2.0/ref/System.Diagnostics.Process.dll", - "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", - "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", - "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", - "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", - "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", - "build/netstandard2.0/ref/System.Drawing.Primitives.dll", - "build/netstandard2.0/ref/System.Drawing.dll", - "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", - "build/netstandard2.0/ref/System.Globalization.Calendars.dll", - "build/netstandard2.0/ref/System.Globalization.Extensions.dll", - "build/netstandard2.0/ref/System.Globalization.dll", - "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", - "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", - "build/netstandard2.0/ref/System.IO.Compression.dll", - "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", - "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", - "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", - "build/netstandard2.0/ref/System.IO.FileSystem.dll", - "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", - "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", - "build/netstandard2.0/ref/System.IO.Pipes.dll", - "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", - "build/netstandard2.0/ref/System.IO.dll", - "build/netstandard2.0/ref/System.Linq.Expressions.dll", - "build/netstandard2.0/ref/System.Linq.Parallel.dll", - "build/netstandard2.0/ref/System.Linq.Queryable.dll", - "build/netstandard2.0/ref/System.Linq.dll", - "build/netstandard2.0/ref/System.Net.Http.dll", - "build/netstandard2.0/ref/System.Net.NameResolution.dll", - "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", - "build/netstandard2.0/ref/System.Net.Ping.dll", - "build/netstandard2.0/ref/System.Net.Primitives.dll", - "build/netstandard2.0/ref/System.Net.Requests.dll", - "build/netstandard2.0/ref/System.Net.Security.dll", - "build/netstandard2.0/ref/System.Net.Sockets.dll", - "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", - "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", - "build/netstandard2.0/ref/System.Net.WebSockets.dll", - "build/netstandard2.0/ref/System.Net.dll", - "build/netstandard2.0/ref/System.Numerics.dll", - "build/netstandard2.0/ref/System.ObjectModel.dll", - "build/netstandard2.0/ref/System.Reflection.Extensions.dll", - "build/netstandard2.0/ref/System.Reflection.Primitives.dll", - "build/netstandard2.0/ref/System.Reflection.dll", - "build/netstandard2.0/ref/System.Resources.Reader.dll", - "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", - "build/netstandard2.0/ref/System.Resources.Writer.dll", - "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", - "build/netstandard2.0/ref/System.Runtime.Extensions.dll", - "build/netstandard2.0/ref/System.Runtime.Handles.dll", - "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", - "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", - "build/netstandard2.0/ref/System.Runtime.Numerics.dll", - "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", - "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", - "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", - "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", - "build/netstandard2.0/ref/System.Runtime.Serialization.dll", - "build/netstandard2.0/ref/System.Runtime.dll", - "build/netstandard2.0/ref/System.Security.Claims.dll", - "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", - "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", - "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", - "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", - "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", - "build/netstandard2.0/ref/System.Security.Principal.dll", - "build/netstandard2.0/ref/System.Security.SecureString.dll", - "build/netstandard2.0/ref/System.ServiceModel.Web.dll", - "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", - "build/netstandard2.0/ref/System.Text.Encoding.dll", - "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", - "build/netstandard2.0/ref/System.Threading.Overlapped.dll", - "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", - "build/netstandard2.0/ref/System.Threading.Tasks.dll", - "build/netstandard2.0/ref/System.Threading.Thread.dll", - "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", - "build/netstandard2.0/ref/System.Threading.Timer.dll", - "build/netstandard2.0/ref/System.Threading.dll", - "build/netstandard2.0/ref/System.Transactions.dll", - "build/netstandard2.0/ref/System.ValueTuple.dll", - "build/netstandard2.0/ref/System.Web.dll", - "build/netstandard2.0/ref/System.Windows.dll", - "build/netstandard2.0/ref/System.Xml.Linq.dll", - "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", - "build/netstandard2.0/ref/System.Xml.Serialization.dll", - "build/netstandard2.0/ref/System.Xml.XDocument.dll", - "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", - "build/netstandard2.0/ref/System.Xml.XPath.dll", - "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", - "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", - "build/netstandard2.0/ref/System.Xml.dll", - "build/netstandard2.0/ref/System.dll", - "build/netstandard2.0/ref/mscorlib.dll", - "build/netstandard2.0/ref/netstandard.dll", - "build/netstandard2.0/ref/netstandard.xml", - "lib/netstandard1.0/_._", - "netstandard.library.2.0.0.nupkg.sha512", - "netstandard.library.nuspec" - ] - } - }, - "projectFileDependencyGroups": { - ".NETCoreApp,Version=v2.0": [ - "Microsoft.NETCore.App >= 2.0.0" - ] - }, - "packageFolders": { - "/home/piotrek/.nuget/packages/": {}, - "/usr/share/dotnet/sdk/NuGetFallbackFolder": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/FCS.csproj", - "projectName": "FCS", - "projectPath": "/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/FCS.csproj", - "packagesPath": "/home/piotrek/.nuget/packages/", - "outputPath": "/home/piotrek/Projects/Studia/C Sharp/Algebra/CRC/DALGLI0/FCS/obj/", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/piotrek/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "netcoreapp2.0" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "netcoreapp2.0": { - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "netcoreapp2.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "target": "Package", - "version": "[2.0.0, )", - "autoReferenced": true - } - }, - "imports": [ - "net461" - ], - "assetTargetFallback": true, - "warn": true - } - } - } -} \ No newline at end of file diff --git a/Program.c b/Program.c new file mode 100644 index 0000000..8d18eed --- /dev/null +++ b/Program.c @@ -0,0 +1,179 @@ +#include +#include +#include +#include +using namespace std; + +#define POLY 0x1021 +string t; +int a,e,c; +unsigned short EncodeCRT(char *ptr, int count) +{ + int crc; + char i; + crc = 0xffff; + while (--count >= 0) + { + crc = crc ^ (int) *ptr++ << 8; + i = 8; + do + { + if (crc & 0x8000) + crc = crc << 1 ^ 0x1021; + else + crc = crc << 1; + } while(--i); + } + return (crc); +} + +string CheckCrc(string message) +{ + string crc="1000000100001"; + for(int i=0;i<=message.length()-crc.length();) + { + for(int j=0;j or smth + std::string bin; + for(unsigned i = 0; i != hex.length(); ++i) + bin += hex_char_to_bin(hex[i]); + return bin; +} +void two(string &in) +{ + +} +int main() +{ + char* input; + cout<<("1. Zakoduj wiadomosc"); + cout<<("2. Odkoduj wiadomosc"); + cout<<("3. Wyjscie"); + int choice=0; + cin>>choice; + cin.ignore(); + if(choice==1) + { + int cc=0; + cout<<("Podaj dlugosc wiadomosci.(ilosc liter ze spacjami wlacznie)"); + cin>>cc; + input=new char[cc]; + cout<<("Podaj wiadomosc do zaszyfrowania."); + cin.ignore(); + cin.getline(input,cc+1); + unsigned short result =EncodeCRT(input,cc); + + for(int i=0;i>input3; + string xd; + std::stringstream ss; + std::string bin; + string hex=input3; + + for(unsigned i = 0; i != hex.length(); ++i) + { + switch(toupper(hex[i])) + { + case '0': bin+= "0000"; break; + case '1': bin+= "0001"; break; + case '2': bin+= "0010"; break; + case '3': bin+= "0011"; break; + case '4': bin+= "0100";break; + case '5': bin+= "0101";break; + case '6': bin+= "0110";break; + case '7': bin+= "0111";break; + case '8': bin+= "1000";break; + case '9': bin+= "1001";break; + case 'A': bin+= "1010";break; + case 'B': bin+= "1011";break; + case 'C': bin+= "1100";break; + case 'D': bin+= "1101";break; + case 'E': bin+= "1110";break; + case 'F': bin+= "1111";break; + } + } + + string crc="1000000100001"; + string message=bin; + int l=message.length(); + int cl=crc.length(); + int ii=0; + int k=0; + l=message.length(); + while(true) + { + if(ii>l-cl) break; + for(int j=0;j