Archived
Private
Public Access
1
0

Initial commit

This commit is contained in:
2022-09-04 12:45:01 +02:00
commit f4a01d6a69
11601 changed files with 4206660 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/.idea.Caesar Entschlüsseler.iml
/modules.xml
/projectSettingsUpdater.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectDictionaryState">
<dictionary name="leon" />
</component>
</project>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="PROJECT_FILES" />
<option name="description" value="" />
</component>
</project>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Caesar_Entschlüsseler</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Caesar Entschlüsseler", "Caesar Entschlüsseler.csproj", "{375C63BC-EC80-4C52-A05B-300B370884FC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{375C63BC-EC80-4C52-A05B-300B370884FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{375C63BC-EC80-4C52-A05B-300B370884FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{375C63BC-EC80-4C52-A05B-300B370884FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{375C63BC-EC80-4C52-A05B-300B370884FC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,43 @@
// See https://aka.ms/new-console-template for more information
using System;
using System.Collections.Generic;
List<char> alphabet = new (new[] {
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
'x', 'y', 'z'
});
Console.WriteLine("Caesar Entschlüsseler");
Console.Write("Gebe die Nachricht ein: ");
string message = Console.ReadLine().ToLower();
char[] chars = message.ToCharArray();
while (true) {
Console.Clear();
Console.Write("Gebe den Token ein: ");
int token = Convert.ToInt32(Console.ReadLine());
string newMsg = "";
for (var i = 0; i < message.Length; i++) {
if (chars[i] == ' ') {
newMsg += " ";
continue;
}
int index = alphabet.FindIndex(ch => ch == chars[i]) + token;
if (index < 0)
index = alphabet.Count - index;
if (index >= alphabet.Count)
index = index - alphabet.Count;
newMsg += alphabet[index];
}
Console.WriteLine("Nachricht: " + newMsg.ToUpper());
Console.ReadKey();
}

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Caesar Entschlüsseler/1.0.0": {
"runtime": {
"Caesar Entschlüsseler.dll": {}
}
}
}
},
"libraries": {
"Caesar Entschlüsseler/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

View File

@@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj": {}
},
"projects": {
"D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj",
"projectName": "Caesar Entschlüsseler",
"projectPath": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj",
"packagesPath": "C:\\Users\\leon\\.nuget\\packages\\",
"outputPath": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\leon\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.202\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\leon\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\leon\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Caesar Entschlüsseler")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Caesar Entschlüsseler")]
[assembly: System.Reflection.AssemblyTitleAttribute("Caesar Entschlüsseler")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.

View File

@@ -0,0 +1 @@
d5965d005f8b752c8156ab07a78d02ab5666a76e

View File

@@ -0,0 +1,10 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Caesar_Entschlüsseler
build_property.ProjectDir = D:\Programmierstuff\C#\Caesar Entschlüsseler\

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
d11a7b35c459f411039e893334d35a892578d597

View File

@@ -0,0 +1,15 @@
D:\Programmierstuff\C#\Caesar Entschlüsseler\bin\Debug\net6.0\Caesar Entschlüsseler.exe
D:\Programmierstuff\C#\Caesar Entschlüsseler\bin\Debug\net6.0\Caesar Entschlüsseler.deps.json
D:\Programmierstuff\C#\Caesar Entschlüsseler\bin\Debug\net6.0\Caesar Entschlüsseler.runtimeconfig.json
D:\Programmierstuff\C#\Caesar Entschlüsseler\bin\Debug\net6.0\Caesar Entschlüsseler.dll
D:\Programmierstuff\C#\Caesar Entschlüsseler\bin\Debug\net6.0\Caesar Entschlüsseler.pdb
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.csproj.AssemblyReference.cache
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.GeneratedMSBuildEditorConfig.editorconfig
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.AssemblyInfoInputs.cache
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.AssemblyInfo.cs
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.csproj.CoreCompileInputs.cache
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.dll
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\refint\Caesar Entschlüsseler.dll
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.pdb
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\Caesar Entschlüsseler.genruntimeconfig.cache
D:\Programmierstuff\C#\Caesar Entschlüsseler\obj\Debug\net6.0\ref\Caesar Entschlüsseler.dll

View File

@@ -0,0 +1 @@
cbce4cb3a97a550adbad02b8e4803b3b5225dcfc

Binary file not shown.

View File

@@ -0,0 +1,72 @@
{
"version": 3,
"targets": {
"net6.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net6.0": []
},
"packageFolders": {
"C:\\Users\\leon\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj",
"projectName": "Caesar Entschlüsseler",
"projectPath": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj",
"packagesPath": "C:\\Users\\leon\\.nuget\\packages\\",
"outputPath": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\leon\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.202\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "D0EQY9GB2jYdMLLE5N3OT60Fbvmdt4X+hE5eIwi6lBYfyTPBjw/TofdWdScl+sRIQs/E3OPnT0M1pKbldbf+6w==",
"success": true,
"projectFilePath": "D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj","projectName":"Caesar Entschlüsseler","projectPath":"D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\Caesar Entschlüsseler.csproj","outputPath":"D:\\Programmierstuff\\C#\\Caesar Entschlüsseler\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net6.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net6.0":{"targetAlias":"net6.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net6.0":{"targetAlias":"net6.0","imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\6.0.202\\RuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
16514355225707522