From 29c56f218da18156d7e67b11a2b0292958a9b52c Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 09:13:05 -0500 Subject: [PATCH 01/20] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index bdec76e..2f272cf 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -40,7 +40,7 @@ or acting as an appointed representative at an online or offline event. Represen ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting me at joshuaevm@gmail.com. All complaints will be reviewed and +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting me at my Discord: PeacefulPotato#4024. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. -- 2.38.5 From abc36a013c42fea2bd49fcac3a3a0b74c17888aa Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 10:18:02 -0500 Subject: [PATCH 02/20] Create CONTRIBUTING.md --- CONTRIBUTING.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..4d748cc --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,74 @@ +# Issues +There are three types of issues: Bugs, Questions and Enhcanements. +## Bugs +Bugs are things that are supposed to work but don't. +Some examples include: +* An error or exception +* A flaw in a security feature +* Encoded messages not decoding properly +Non examples include: +* A security issue not yet advertised (such as adding RSA encrytion) +* Adding something new, instead of fixing something old +* Asking a question about something you don't get +If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it as follows: +``` +**Issue Description** +Description of your issue +**System Details** +* Interpreter version X (i.e. repl.it or IDLE version 2020-09). If using a command prompt, say the name of the program you enter, like "python3", and the version, using --version. +* HOP Encode/Decode (which program is malfunctioning) +**Steps to reproduce** +Make sure that the steps can be easily followed. +1. Do step 1 +2. Do step 2 +3. Do step 3 +etc. +**Expected behavior** +What is supposed to happen +**Actual behavior** +What actually happened +**Exception** +If you got an exception, list it below. +`Exception` +**Screenshots** +Any screenshots you deem necessary. Optional, but helpful. +``` +## Questions +Questions are things that you are unsure about. When in doubt, mark it as a question. If you have a question, label it in the following manner: +``` +**Question** +Make sure you are clear and concise. Clear means the average person can understand what you want to know, and concise means the question isn't too long. +**System Details** +* Interpreter version X (i.e. repl.it or IDLE version 2020-09). If using a command prompt, say the name of the program you enter, like "python3", and the version, using --version. +* HOP Encode/Decode (which program you are confused about) +**Screenshots** +Any screenshots you deem necessary. Optional, but helpful. +``` +## Enhancements +Enhancements are things you want to improve. Be sure to list it both as an enhancement and label it based on what type of enhancement it is: +Security: This is an improvement to security you would like to see, such as RSA encryption. +QOL: This is an improvement to quality of life you would like to see, such as more lanugages as codes. If in doubt, mark it as QOL. +Documentation: This is an improvement to documentation you would like to see. +Be sure to label the enhancement as follows: +``` +**Program to Enhance** +What you want to enhance. Examples include HOP Encode and HOP Decode. +**Description of Enhancement** +A clear and concise descrpition of how you want to enhance the program. +**Approach** +Possible ways to accomplish this enhancement. +**Screenshots** +Any screenshots you deem necessary. Optional, but helpful. +``` +# Pull Requests +Pull requests are when you want to change the code yourself. Please link to any relavent issues by clicking on the gear next to "linked issues". +Additionally, add this to the milestone the issues are linked to, and label it based on what you are trying to solve (Bug or Enhancement and what type if necessary). +They should be formatted as follows: +``` +**Changes** +A bulleted list of the changes you made. Will be used in release notes. +**Reasoning** +Why you want to make these changes. Should be clear and concise. +**Drawback Handling** +Potential drawbacks in this change and how you addressed them. +``` -- 2.38.5 From 7f11e22a5f10f2e688e44b954f86cf51a8a2805e Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 10:19:27 -0500 Subject: [PATCH 03/20] Update CONTRIBUTING.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4d748cc..08f6a20 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,6 +6,7 @@ Some examples include: * An error or exception * A flaw in a security feature * Encoded messages not decoding properly + Non examples include: * A security issue not yet advertised (such as adding RSA encrytion) * Adding something new, instead of fixing something old -- 2.38.5 From ed4872fa015164fbc30cb1251524b193d20eae19 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 10:19:52 -0500 Subject: [PATCH 04/20] Update CONTRIBUTING.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 08f6a20..d0c0a17 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,6 +11,7 @@ Non examples include: * A security issue not yet advertised (such as adding RSA encrytion) * Adding something new, instead of fixing something old * Asking a question about something you don't get + If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it as follows: ``` **Issue Description** -- 2.38.5 From 5a59e7fd0910fc3d6a5fa442208647bc8921614f Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 10:28:54 -0500 Subject: [PATCH 05/20] Update CONTRIBUTING.md --- CONTRIBUTING.md | 47 +++-------------------------------------------- 1 file changed, 3 insertions(+), 44 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0c0a17..d87c4a9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,56 +12,15 @@ Non examples include: * Adding something new, instead of fixing something old * Asking a question about something you don't get -If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it as follows: -``` -**Issue Description** -Description of your issue -**System Details** -* Interpreter version X (i.e. repl.it or IDLE version 2020-09). If using a command prompt, say the name of the program you enter, like "python3", and the version, using --version. -* HOP Encode/Decode (which program is malfunctioning) -**Steps to reproduce** -Make sure that the steps can be easily followed. -1. Do step 1 -2. Do step 2 -3. Do step 3 -etc. -**Expected behavior** -What is supposed to happen -**Actual behavior** -What actually happened -**Exception** -If you got an exception, list it below. -`Exception` -**Screenshots** -Any screenshots you deem necessary. Optional, but helpful. -``` +If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it based on the bug report template. ## Questions -Questions are things that you are unsure about. When in doubt, mark it as a question. If you have a question, label it in the following manner: -``` -**Question** -Make sure you are clear and concise. Clear means the average person can understand what you want to know, and concise means the question isn't too long. -**System Details** -* Interpreter version X (i.e. repl.it or IDLE version 2020-09). If using a command prompt, say the name of the program you enter, like "python3", and the version, using --version. -* HOP Encode/Decode (which program you are confused about) -**Screenshots** -Any screenshots you deem necessary. Optional, but helpful. -``` +Questions are things that you are unsure about. When in doubt, mark it as a question. If you have a question, label it based on the question template. ## Enhancements Enhancements are things you want to improve. Be sure to list it both as an enhancement and label it based on what type of enhancement it is: Security: This is an improvement to security you would like to see, such as RSA encryption. QOL: This is an improvement to quality of life you would like to see, such as more lanugages as codes. If in doubt, mark it as QOL. Documentation: This is an improvement to documentation you would like to see. -Be sure to label the enhancement as follows: -``` -**Program to Enhance** -What you want to enhance. Examples include HOP Encode and HOP Decode. -**Description of Enhancement** -A clear and concise descrpition of how you want to enhance the program. -**Approach** -Possible ways to accomplish this enhancement. -**Screenshots** -Any screenshots you deem necessary. Optional, but helpful. -``` +Be sure to label the enhancement based on the feature request template. # Pull Requests Pull requests are when you want to change the code yourself. Please link to any relavent issues by clicking on the gear next to "linked issues". Additionally, add this to the milestone the issues are linked to, and label it based on what you are trying to solve (Bug or Enhancement and what type if necessary). -- 2.38.5 From 825799ce0b6c4b79f33efd29c9cb90e10341324f Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 13:31:36 -0500 Subject: [PATCH 06/20] Delete HOP 1.0.1 - encode.py --- HOP 1.0.1 - encode.py | 71 ------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 HOP 1.0.1 - encode.py diff --git a/HOP 1.0.1 - encode.py b/HOP 1.0.1 - encode.py deleted file mode 100644 index ff305f7..0000000 --- a/HOP 1.0.1 - encode.py +++ /dev/null @@ -1,71 +0,0 @@ -#1.0: -#Released HOP Encode -#1.0.1: -#Updated version number -#Added optimize for Discord option -#Added changelog -import base64 -plaintext = input("Enter message to encode: ") -def b36_encode(i): - if i < 0: return "-" + b36_encode(-i) - if i < 36: return "0123456789abcdefghijklmnopqrstuvwxyz"[i] - return b36_encode(i // 36) + b36_encode(i % 36) -def stepone(plaintext): - magicasciipowers = list(plaintext) - numbersgohere = [""]*len(magicasciipowers) - for i in range(len(magicasciipowers)): - temp = magicasciipowers[i] - temp = ord(temp) - if (temp<100): - numbersgohere[i]="0"+str(temp) - else: - numbersgohere[i]=str(temp) - numbers = "" - for i in range(len(numbersgohere)): - numbers=numbers+numbersgohere[i] - return(int(numbers)) -def vigenere_enc(stepone,key): - alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" - input_string = "" - enc_key = "" - enc_string = "" - enc_key = key - enc_key = enc_key.lower() - input_string = stepone - input_string = input_string.lower() - string_length = len(input_string) - expanded_key = enc_key - expanded_key_length = len(expanded_key) - while expanded_key_length < string_length: - expanded_key = expanded_key + enc_key - expanded_key_length = len(expanded_key) - key_position = 0 - for letter in input_string: - if letter in alphabet: - position = alphabet.find(letter) - key_character = expanded_key[key_position] - key_character_position = alphabet.find(key_character) - key_position = key_position + 1 - new_position = position + key_character_position - if new_position > 35: - new_position = new_position - 36 - new_character = alphabet[new_position] - enc_string = enc_string + new_character - else: - enc_string = enc_string + letter - return(enc_string) -key=input("Enter encryption key: ") -steptwo = vigenere_enc(b36_encode(stepone(plaintext)),key) -steptwob = steptwo.encode('utf-8') -stepthree = base64.a85encode(steptwob) -stepthreeb = stepthree.decode('utf-8') -answer = False -while answer == False: - discord = input("Optimize for discord? y or n: ") - if(discord=="y"): - answer = True - stepfour = "```"+str(stepthreeb)+"h```" - elif(discord=="n"): - answer = True -print("Your encoded message: "+stepfour) - stepfour = str(stepthreeb)+"h" \ No newline at end of file -- 2.38.5 From 53e28c7265d2389057fbf670b62ea65611948ea0 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 13:33:04 -0500 Subject: [PATCH 07/20] Update and rename HOP 1.0.1 - decode.py to HOP 1.0.1.1.py --- HOP 1.0.1 - decode.py | 70 ------------------- HOP 1.0.1.1.py | 153 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+), 70 deletions(-) delete mode 100644 HOP 1.0.1 - decode.py create mode 100644 HOP 1.0.1.1.py diff --git a/HOP 1.0.1 - decode.py b/HOP 1.0.1 - decode.py deleted file mode 100644 index 29ca651..0000000 --- a/HOP 1.0.1 - decode.py +++ /dev/null @@ -1,70 +0,0 @@ -#1.0: -#Released HOP Decode -#1.0.1: -#Updated version number to match HOP Encode -#Added changelog -import base64 -ciphertext=input("Enter message to decode: ") -steponel = list(ciphertext) -stepone = "" -for i in range(len(steponel)-1): - stepone=stepone+steponel[i] -steptwo = stepone.encode('utf-8') -steptwob = base64.a85decode(steptwo) -steptwoc = steptwob.decode('utf-8') -def vigenere_dec(cipher,key): - alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" - input_string = "" - dec_key = "" - dec_string = "" - dec_key = key - dec_key = dec_key.lower() - input_string = cipher - input_string = input_string.lower() - string_length = len(input_string) - expanded_key = dec_key - expanded_key_length = len(expanded_key) - while expanded_key_length < string_length: - expanded_key = expanded_key + dec_key - expanded_key_length = len(expanded_key) - key_position = 0 - for letter in input_string: - if letter in alphabet: - position = alphabet.find(letter) - key_character = expanded_key[key_position] - key_character_position = alphabet.find(key_character) - key_position = key_position + 1 - new_position = position - key_character_position - if new_position > 35: - new_position = new_position + 36 - new_character = alphabet[new_position] - dec_string = dec_string + new_character - else: - dec_string = dec_string + letter - return(dec_string) -def stepfour(stepthree): - stepthree=str(int(stepthree,36)) - test = list(stepthree) - if len(test)%3==1: - stepthree="00"+stepthree - if len(test)%3==2: - stepthree="0"+stepthree - stepthreel = list(stepthree) - stepfourl = [""]*int((float(len(stepthreel))/3)) - k = 0 - while k < len(stepthreel)-2: - stepfourl[int(k/3)] = stepthreel[k] + stepthreel[k+1] + stepthreel[k+2] - k = k + 3 - for j in range(len(stepfourl)): - temp = stepfourl[j] - temp = int(temp) - temp = chr(temp) - stepfourl[j] = temp - stepfour="" - for l in range(len(stepfourl)): - stepfour = stepfour + stepfourl[l] - return(stepfour) -key = input("Enter encryption key: ") -stepthree = vigenere_dec(steptwoc, key) -stepfour = stepfour(stepthree) -print("Your decoded message: "+stepfour) \ No newline at end of file diff --git a/HOP 1.0.1.1.py b/HOP 1.0.1.1.py new file mode 100644 index 0000000..682f9ce --- /dev/null +++ b/HOP 1.0.1.1.py @@ -0,0 +1,153 @@ +#Changelog: + #HOP Encode + #1.0: + #Released HOP Encode + #1.0.1: + #Updated version number + #Added optimize for Discord option + #Added changelog + #Hop Decode + #1.0: + #Released HOP decode + #1.0.1: + #Updated version number to match that of HOP Encode + #Added changelog + +import base64 +def decode(ciphertext, key): + steponel = list(ciphertext) + stepone = "" + for i in range(len(steponel)-1): + stepone=stepone+steponel[i] + steptwo = stepone.encode('utf-8') + steptwob = base64.a85decode(steptwo) + steptwoc = steptwob.decode('utf-8') + def vigenere_dec(cipher,key): + alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" + input_string = "" + dec_key = "" + dec_string = "" + dec_key = key + dec_key = dec_key.lower() + input_string = cipher + input_string = input_string.lower() + string_length = len(input_string) + expanded_key = dec_key + expanded_key_length = len(expanded_key) + while expanded_key_length < string_length: + expanded_key = expanded_key + dec_key + expanded_key_length = len(expanded_key) + key_position = 0 + for letter in input_string: + if letter in alphabet: + position = alphabet.find(letter) + key_character = expanded_key[key_position] + key_character_position = alphabet.find(key_character) + key_position = key_position + 1 + new_position = position - key_character_position + if new_position > 35: + new_position = new_position + 36 + new_character = alphabet[new_position] + dec_string = dec_string + new_character + else: + dec_string = dec_string + letter + return(dec_string) + def stepfour(stepthree): + stepthree=str(int(stepthree,36)) + test = list(stepthree) + if len(test)%3==1: + stepthree="00"+stepthree + if len(test)%3==2: + stepthree="0"+stepthree + stepthreel = list(stepthree) + stepfourl = [""]*int((float(len(stepthreel))/3)) + k = 0 + while k < len(stepthreel)-2: + stepfourl[int(k/3)] = stepthreel[k] + stepthreel[k+1] + stepthreel[k+2] + k = k + 3 + for j in range(len(stepfourl)): + temp = stepfourl[j] + temp = int(temp) + temp = chr(temp) + stepfourl[j] = temp + stepfour="" + for l in range(len(stepfourl)): + stepfour = stepfour + stepfourl[l] + return(stepfour) + stepthree = vigenere_dec(steptwoc, key) + stepfour = stepfour(stepthree) + output = "Your decoded message: "+stepfour + return output; +def encode(plaintext, key): + def b36_encode(i): + if i < 0: return "-" + b36_encode(-i) + if i < 36: return "0123456789abcdefghijklmnopqrstuvwxyz"[i] + return b36_encode(i // 36) + b36_encode(i % 36) + def stepone(plaintext): + magicasciipowers = list(plaintext) + numbersgohere = [""]*len(magicasciipowers) + for i in range(len(magicasciipowers)): + temp = magicasciipowers[i] + temp = ord(temp) + if (temp<100): + numbersgohere[i]="0"+str(temp) + else: + numbersgohere[i]=str(temp) + numbers = "" + for i in range(len(numbersgohere)): + numbers=numbers+numbersgohere[i] + return(int(numbers)) + def vigenere_enc(stepone,key): + alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" + input_string = "" + enc_key = "" + enc_string = "" + enc_key = key + enc_key = enc_key.lower() + input_string = stepone + input_string = input_string.lower() + string_length = len(input_string) + expanded_key = enc_key + expanded_key_length = len(expanded_key) + while expanded_key_length < string_length: + expanded_key = expanded_key + enc_key + expanded_key_length = len(expanded_key) + key_position = 0 + for letter in input_string: + if letter in alphabet: + position = alphabet.find(letter) + key_character = expanded_key[key_position] + key_character_position = alphabet.find(key_character) + key_position = key_position + 1 + new_position = position + key_character_position + if new_position > 35: + new_position = new_position - 36 + new_character = alphabet[new_position] + enc_string = enc_string + new_character + else: + enc_string = enc_string + letter + return(enc_string) + steptwo = vigenere_enc(b36_encode(stepone(plaintext)),key) + steptwob = steptwo.encode('utf-8') + stepthree = base64.a85encode(steptwob) + stepthreeb = stepthree.decode('utf-8') + stepfour = str(stepthreeb)+"h" + answer = False + while answer == False: + discord = input("Optimize for discord? y or n: ") + if(discord=="y"): + answer = True + stepfour = "```"+str(stepthreeb)+"h```" + elif(discord=="n"): + answer = True + output="Your encoded message: "+stepfour + return output +var = input("Encode or Decode? 1 for encode, 2 for decode: ") +if (var=="1"): + ciphertext = input("Enter message to encode: ") + key = input("Enter encryption key: ") + print(encode(ciphertext, key)) +elif (var=="2"): + plaintext = input("Enter message to decode: ") + key = input("Enter encryption key: ") + print(decode(plaintext, key)) -- 2.38.5 From 28da52cb8ebb5babdd6b30e06f8526271fa7c639 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 13:33:30 -0500 Subject: [PATCH 08/20] Create .replit --- .replit | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .replit diff --git a/.replit b/.replit new file mode 100644 index 0000000..a2fb235 --- /dev/null +++ b/.replit @@ -0,0 +1,2 @@ +language = "python3" +run = "python3 'HOP 1.0.1.1.py'" -- 2.38.5 From 77a1357e4fea355d4ad854d3e865265e2afdca20 Mon Sep 17 00:00:00 2001 From: Peaceful Potato Date: Fri, 4 Dec 2020 18:47:12 +0000 Subject: [PATCH 09/20] Prepare to release HOP 1.0.2 --- HOP 1.0.1.1.py => HOP 1.0.2.py | 313 +++++++++++++++++---------------- 1 file changed, 160 insertions(+), 153 deletions(-) rename HOP 1.0.1.1.py => HOP 1.0.2.py (93%) diff --git a/HOP 1.0.1.1.py b/HOP 1.0.2.py similarity index 93% rename from HOP 1.0.1.1.py rename to HOP 1.0.2.py index 682f9ce..651e0fc 100644 --- a/HOP 1.0.1.1.py +++ b/HOP 1.0.2.py @@ -1,153 +1,160 @@ -#Changelog: - #HOP Encode - #1.0: - #Released HOP Encode - #1.0.1: - #Updated version number - #Added optimize for Discord option - #Added changelog - #Hop Decode - #1.0: - #Released HOP decode - #1.0.1: - #Updated version number to match that of HOP Encode - #Added changelog - -import base64 -def decode(ciphertext, key): - steponel = list(ciphertext) - stepone = "" - for i in range(len(steponel)-1): - stepone=stepone+steponel[i] - steptwo = stepone.encode('utf-8') - steptwob = base64.a85decode(steptwo) - steptwoc = steptwob.decode('utf-8') - def vigenere_dec(cipher,key): - alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" - input_string = "" - dec_key = "" - dec_string = "" - dec_key = key - dec_key = dec_key.lower() - input_string = cipher - input_string = input_string.lower() - string_length = len(input_string) - expanded_key = dec_key - expanded_key_length = len(expanded_key) - while expanded_key_length < string_length: - expanded_key = expanded_key + dec_key - expanded_key_length = len(expanded_key) - key_position = 0 - for letter in input_string: - if letter in alphabet: - position = alphabet.find(letter) - key_character = expanded_key[key_position] - key_character_position = alphabet.find(key_character) - key_position = key_position + 1 - new_position = position - key_character_position - if new_position > 35: - new_position = new_position + 36 - new_character = alphabet[new_position] - dec_string = dec_string + new_character - else: - dec_string = dec_string + letter - return(dec_string) - def stepfour(stepthree): - stepthree=str(int(stepthree,36)) - test = list(stepthree) - if len(test)%3==1: - stepthree="00"+stepthree - if len(test)%3==2: - stepthree="0"+stepthree - stepthreel = list(stepthree) - stepfourl = [""]*int((float(len(stepthreel))/3)) - k = 0 - while k < len(stepthreel)-2: - stepfourl[int(k/3)] = stepthreel[k] + stepthreel[k+1] + stepthreel[k+2] - k = k + 3 - for j in range(len(stepfourl)): - temp = stepfourl[j] - temp = int(temp) - temp = chr(temp) - stepfourl[j] = temp - stepfour="" - for l in range(len(stepfourl)): - stepfour = stepfour + stepfourl[l] - return(stepfour) - stepthree = vigenere_dec(steptwoc, key) - stepfour = stepfour(stepthree) - output = "Your decoded message: "+stepfour - return output; -def encode(plaintext, key): - def b36_encode(i): - if i < 0: return "-" + b36_encode(-i) - if i < 36: return "0123456789abcdefghijklmnopqrstuvwxyz"[i] - return b36_encode(i // 36) + b36_encode(i % 36) - def stepone(plaintext): - magicasciipowers = list(plaintext) - numbersgohere = [""]*len(magicasciipowers) - for i in range(len(magicasciipowers)): - temp = magicasciipowers[i] - temp = ord(temp) - if (temp<100): - numbersgohere[i]="0"+str(temp) - else: - numbersgohere[i]=str(temp) - numbers = "" - for i in range(len(numbersgohere)): - numbers=numbers+numbersgohere[i] - return(int(numbers)) - def vigenere_enc(stepone,key): - alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" - input_string = "" - enc_key = "" - enc_string = "" - enc_key = key - enc_key = enc_key.lower() - input_string = stepone - input_string = input_string.lower() - string_length = len(input_string) - expanded_key = enc_key - expanded_key_length = len(expanded_key) - while expanded_key_length < string_length: - expanded_key = expanded_key + enc_key - expanded_key_length = len(expanded_key) - key_position = 0 - for letter in input_string: - if letter in alphabet: - position = alphabet.find(letter) - key_character = expanded_key[key_position] - key_character_position = alphabet.find(key_character) - key_position = key_position + 1 - new_position = position + key_character_position - if new_position > 35: - new_position = new_position - 36 - new_character = alphabet[new_position] - enc_string = enc_string + new_character - else: - enc_string = enc_string + letter - return(enc_string) - steptwo = vigenere_enc(b36_encode(stepone(plaintext)),key) - steptwob = steptwo.encode('utf-8') - stepthree = base64.a85encode(steptwob) - stepthreeb = stepthree.decode('utf-8') - stepfour = str(stepthreeb)+"h" - answer = False - while answer == False: - discord = input("Optimize for discord? y or n: ") - if(discord=="y"): - answer = True - stepfour = "```"+str(stepthreeb)+"h```" - elif(discord=="n"): - answer = True - output="Your encoded message: "+stepfour - return output -var = input("Encode or Decode? 1 for encode, 2 for decode: ") -if (var=="1"): - ciphertext = input("Enter message to encode: ") - key = input("Enter encryption key: ") - print(encode(ciphertext, key)) -elif (var=="2"): - plaintext = input("Enter message to decode: ") - key = input("Enter encryption key: ") - print(decode(plaintext, key)) +#Changelog: + #HOP Encode + #1.0: + #Released HOP Encode + #1.0.1: + #Updated version number + #Added optimize for Discord option + #Added changelog + #HOP Decode + #1.0: + #Released HOP decode + #1.0.1: + #Updated version number to match that of HOP Encode + #Added changelog + #HOP + #1.0.2: + #Combined HOP Encode and HOP Decode + #Integrated GitHub and repl.it + #Added several files, including .replit, CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, and SECURITY.md + #Moved input, print, and import statements outside functions + #Added ability to choose on runtime encode or decode + +import base64 +def decode(ciphertext, key): + steponel = list(ciphertext) + stepone = "" + for i in range(len(steponel)-1): + stepone=stepone+steponel[i] + steptwo = stepone.encode('utf-8') + steptwob = base64.a85decode(steptwo) + steptwoc = steptwob.decode('utf-8') + def vigenere_dec(cipher,key): + alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" + input_string = "" + dec_key = "" + dec_string = "" + dec_key = key + dec_key = dec_key.lower() + input_string = cipher + input_string = input_string.lower() + string_length = len(input_string) + expanded_key = dec_key + expanded_key_length = len(expanded_key) + while expanded_key_length < string_length: + expanded_key = expanded_key + dec_key + expanded_key_length = len(expanded_key) + key_position = 0 + for letter in input_string: + if letter in alphabet: + position = alphabet.find(letter) + key_character = expanded_key[key_position] + key_character_position = alphabet.find(key_character) + key_position = key_position + 1 + new_position = position - key_character_position + if new_position > 35: + new_position = new_position + 36 + new_character = alphabet[new_position] + dec_string = dec_string + new_character + else: + dec_string = dec_string + letter + return(dec_string) + def stepfour(stepthree): + stepthree=str(int(stepthree,36)) + test = list(stepthree) + if len(test)%3==1: + stepthree="00"+stepthree + if len(test)%3==2: + stepthree="0"+stepthree + stepthreel = list(stepthree) + stepfourl = [""]*int((float(len(stepthreel))/3)) + k = 0 + while k < len(stepthreel)-2: + stepfourl[int(k/3)] = stepthreel[k] + stepthreel[k+1] + stepthreel[k+2] + k = k + 3 + for j in range(len(stepfourl)): + temp = stepfourl[j] + temp = int(temp) + temp = chr(temp) + stepfourl[j] = temp + stepfour="" + for l in range(len(stepfourl)): + stepfour = stepfour + stepfourl[l] + return(stepfour) + stepthree = vigenere_dec(steptwoc, key) + stepfour = stepfour(stepthree) + output = "Your decoded message: "+stepfour + return output; +def encode(plaintext, key): + def b36_encode(i): + if i < 0: return "-" + b36_encode(-i) + if i < 36: return "0123456789abcdefghijklmnopqrstuvwxyz"[i] + return b36_encode(i // 36) + b36_encode(i % 36) + def stepone(plaintext): + magicasciipowers = list(plaintext) + numbersgohere = [""]*len(magicasciipowers) + for i in range(len(magicasciipowers)): + temp = magicasciipowers[i] + temp = ord(temp) + if (temp<100): + numbersgohere[i]="0"+str(temp) + else: + numbersgohere[i]=str(temp) + numbers = "" + for i in range(len(numbersgohere)): + numbers=numbers+numbersgohere[i] + return(int(numbers)) + def vigenere_enc(stepone,key): + alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" + input_string = "" + enc_key = "" + enc_string = "" + enc_key = key + enc_key = enc_key.lower() + input_string = stepone + input_string = input_string.lower() + string_length = len(input_string) + expanded_key = enc_key + expanded_key_length = len(expanded_key) + while expanded_key_length < string_length: + expanded_key = expanded_key + enc_key + expanded_key_length = len(expanded_key) + key_position = 0 + for letter in input_string: + if letter in alphabet: + position = alphabet.find(letter) + key_character = expanded_key[key_position] + key_character_position = alphabet.find(key_character) + key_position = key_position + 1 + new_position = position + key_character_position + if new_position > 35: + new_position = new_position - 36 + new_character = alphabet[new_position] + enc_string = enc_string + new_character + else: + enc_string = enc_string + letter + return(enc_string) + steptwo = vigenere_enc(b36_encode(stepone(plaintext)),key) + steptwob = steptwo.encode('utf-8') + stepthree = base64.a85encode(steptwob) + stepthreeb = stepthree.decode('utf-8') + stepfour = str(stepthreeb)+"h" + answer = False + while answer == False: + discord = input("Optimize for discord? y or n: ") + if(discord=="y"): + answer = True + stepfour = "```"+str(stepthreeb)+"h```" + elif(discord=="n"): + answer = True + output="Your encoded message: "+stepfour + return output +var = input("Encode or Decode? 1 for encode, 2 for decode: ") +if (var=="1"): + ciphertext = input("Enter message to encode: ") + key = input("Enter encryption key: ") + print(encode(ciphertext, key)) +elif (var=="2"): + plaintext = input("Enter message to decode: ") + key = input("Enter encryption key: ") + print(decode(plaintext, key)) -- 2.38.5 From 2a1498f9816eb76d0f5163984993c7865d8cf141 Mon Sep 17 00:00:00 2001 From: Peaceful Potato Date: Fri, 4 Dec 2020 19:37:48 +0000 Subject: [PATCH 10/20] Fix .replit file --- .replit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.replit b/.replit index a2fb235..c4eae0a 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,2 @@ language = "python3" -run = "python3 'HOP 1.0.1.1.py'" +run = "python3 'HOP 1.0.2.py'" -- 2.38.5 From 8a3e27d269db84dc754e779329da02ee30c97675 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:04:27 -0500 Subject: [PATCH 11/20] Create issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 42 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 25 ++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 28 +++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..c027da9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,42 @@ +--- +name: Bug report +about: Something broke? Let us know here! +title: '' +labels: bug +assignees: '' + +--- + + + +**Issue Description** +A clear and concise description of what the bug is. + +**System Details** +* HOP program (such as HOP.1.0.2.py) +* Python version (such as python 3.9) +* Platform name (such as repl.it) + +**Steps To Reproduce** +Steps to reproduce the behavior. Should be easy to follow. +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Actual behavior** +A clear and concise description of what actually happened. + +**Exception** +``` +If the bug is an exception, enter it here. +``` + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..e693547 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,25 @@ +--- +name: Feature request +about: Something you don't like? Let us know here! +title: '' +labels: enhancement +assignees: '' + +--- + + + +**Problem** +Something you are missing or do not like about HOP. Be clear and concise. + +**Preferred Solution** +Your preferred method of addressing this problem. Be specific. Go into detail on how this solution can be reached. + +**Alternate Solutions** +List alternate solutions you considered and why you would rather do your preferred solution. + +**Screenshots** +If applicable, add screenshots to help explain your solution. + +**Additional context** +Add any other context about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..a1a8d1d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,28 @@ +--- +name: Question +about: Something you're unsure about? Let us know here! +title: '' +labels: question +assignees: '' + +--- + + + + +**Question** +What do you want to know? Be clear and concise. + +**Self Research** +Explain what you have already tried to do before asking the question. + +**System Details** +* HOP program (such as HOP.1.0.2.py) +* Python version (such as python 3.9) +* Platform name (such as repl.it) + +**Screenshots** +If applicable, add screenshots to help explain your question. + +**Additional context** +Add any other context about the question here. -- 2.38.5 From 13b5ed9044b6e62680d25fd7d4458585a1b7ea81 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:09:30 -0500 Subject: [PATCH 12/20] Create pull_request.md --- .github/PULL_REQUEST_TEMPLATE/pull_request.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/pull_request.md diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request.md b/.github/PULL_REQUEST_TEMPLATE/pull_request.md new file mode 100644 index 0000000..1fc461e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request.md @@ -0,0 +1,7 @@ + +**Changes** +A bulleted list of the changes you made. Will be used in release notes. +**Reasoning** +Why you want to make these changes. Should be clear and concise. +**Drawback Handling** +Potential drawbacks in this change and how you addressed them. -- 2.38.5 From e8eafd2cee898b9bf06845bc4e5361e9ef1beadb Mon Sep 17 00:00:00 2001 From: PeacefulPotato <57071692+PeacefulPotato@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:11:48 -0500 Subject: [PATCH 13/20] Update CONTRIBUTING.md --- CONTRIBUTING.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d87c4a9..0fe7e28 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ # Issues -There are three types of issues: Bugs, Questions and Enhcanements. +There are three types of issues: Bugs, Questions and Enhcanements. For all issues, make sure you aren't posting a duplicate. ## Bugs Bugs are things that are supposed to work but don't. Some examples include: @@ -14,22 +14,14 @@ Non examples include: If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it based on the bug report template. ## Questions -Questions are things that you are unsure about. When in doubt, mark it as a question. If you have a question, label it based on the question template. +Questions are things that you are unsure about. When in doubt, mark it as a question, though be sure to always answer it yourself before posting. Be sure to format the enhancement as dicated in the feature request template, though be sure to always answer it yourself before posting. ## Enhancements -Enhancements are things you want to improve. Be sure to list it both as an enhancement and label it based on what type of enhancement it is: +Enhancements are things you want to improve. Be sure to label it based on what type of enhancement it is: Security: This is an improvement to security you would like to see, such as RSA encryption. QOL: This is an improvement to quality of life you would like to see, such as more lanugages as codes. If in doubt, mark it as QOL. Documentation: This is an improvement to documentation you would like to see. -Be sure to label the enhancement based on the feature request template. +Be sure to format the enhancement as dicated in the feature request template. # Pull Requests Pull requests are when you want to change the code yourself. Please link to any relavent issues by clicking on the gear next to "linked issues". Additionally, add this to the milestone the issues are linked to, and label it based on what you are trying to solve (Bug or Enhancement and what type if necessary). -They should be formatted as follows: -``` -**Changes** -A bulleted list of the changes you made. Will be used in release notes. -**Reasoning** -Why you want to make these changes. Should be clear and concise. -**Drawback Handling** -Potential drawbacks in this change and how you addressed them. -``` +They should be formatted as dictated in the pull request template. -- 2.38.5 From b624f8c39b2e452594e370796d9633918d475ba2 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <8162759-PeacefulPotato@users.noreply.gitlab.com> Date: Tue, 9 Feb 2021 19:04:55 +0000 Subject: [PATCH 14/20] Fix typos --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0fe7e28..c9f575f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ # Issues -There are three types of issues: Bugs, Questions and Enhcanements. For all issues, make sure you aren't posting a duplicate. +There are three types of issues: Bugs, Questions and Enhancements. For all issues, make sure you aren't posting a duplicate. ## Bugs Bugs are things that are supposed to work but don't. Some examples include: @@ -14,13 +14,13 @@ Non examples include: If you find a bug, label it with the "bugs" tag, as well as the "security" tag if the bug relates to security. Then, be sure to label it based on the bug report template. ## Questions -Questions are things that you are unsure about. When in doubt, mark it as a question, though be sure to always answer it yourself before posting. Be sure to format the enhancement as dicated in the feature request template, though be sure to always answer it yourself before posting. +Questions are things that you are unsure about. When in doubt, mark it as a question, though be sure to always answer it yourself before posting. Be sure to format the enhancement as dictated in the feature request template. ## Enhancements Enhancements are things you want to improve. Be sure to label it based on what type of enhancement it is: Security: This is an improvement to security you would like to see, such as RSA encryption. QOL: This is an improvement to quality of life you would like to see, such as more lanugages as codes. If in doubt, mark it as QOL. Documentation: This is an improvement to documentation you would like to see. -Be sure to format the enhancement as dicated in the feature request template. +Be sure to format the enhancement as dictated in the feature request template. # Pull Requests Pull requests are when you want to change the code yourself. Please link to any relavent issues by clicking on the gear next to "linked issues". Additionally, add this to the milestone the issues are linked to, and label it based on what you are trying to solve (Bug or Enhancement and what type if necessary). -- 2.38.5 From e17d209ece65fda80df90481bb122675051991f2 Mon Sep 17 00:00:00 2001 From: PeacefulPotato <8162759-PeacefulPotato@users.noreply.gitlab.com> Date: Tue, 9 Feb 2021 19:07:53 +0000 Subject: [PATCH 15/20] Update to 1.0.2.1: Clarify more apps that the markdown optimization feature supports --- HOP 1.0.2.py => HOP 1.0.2.1.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename HOP 1.0.2.py => HOP 1.0.2.1.py (94%) diff --git a/HOP 1.0.2.py b/HOP 1.0.2.1.py similarity index 94% rename from HOP 1.0.2.py rename to HOP 1.0.2.1.py index 651e0fc..6fc1582 100644 --- a/HOP 1.0.2.py +++ b/HOP 1.0.2.1.py @@ -19,6 +19,8 @@ #Added several files, including .replit, CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, and SECURITY.md #Moved input, print, and import statements outside functions #Added ability to choose on runtime encode or decode + #1.0.2.1: + #Made changes to show that the "optimize for Discord" option also supports Element/Matrix, IRC, Joplin, etc. import base64 def decode(ciphertext, key): @@ -141,11 +143,11 @@ def encode(plaintext, key): stepfour = str(stepthreeb)+"h" answer = False while answer == False: - discord = input("Optimize for discord? y or n: ") - if(discord=="y"): + mdsupport = input("Optimize for markdown supported services, like Discord, Element/Matrix, Joplin, or IRC? y or n: ") + if(mdsupport=="y"): answer = True stepfour = "```"+str(stepthreeb)+"h```" - elif(discord=="n"): + elif(mdsupport=="n"): answer = True output="Your encoded message: "+stepfour return output -- 2.38.5 From ecd72264333c1df8b918ac06b361304e9dcc8abd Mon Sep 17 00:00:00 2001 From: ziproot Date: Mon, 25 Oct 2021 02:35:31 +0000 Subject: [PATCH 16/20] Remove Code of Conduct --- CODE_OF_CONDUCT.md | 56 ---------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 2f272cf..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a -harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, -education, socio-economic status, nationality, personal appearance, race, religion, political party, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment include: - -* Using welcoming and inclusive language. For instance, try using "they", "them", etc. whenever possible. -* Being respectful of differing viewpoints and experiences. -* Gracefully accepting constructive criticism, and giving constructive criticism gracefully. -* Focusing on what is best for the community. -* Showing empathy towards other community members. - -Examples of unacceptable behavior by participants include: - -* Anything NSFW. This is a github page for an obsfucation program. -* Trolling, insulting/derogatory comments, and personal or political attacks. -* Public or private harassment. -* Publishing others' private information, such as a physical or electronic address, without explicit permission. -* Other conduct which could reasonably be considered inappropriate in a professional setting. AKA, just because it isn't explicitly stated here doesn't mean you get to do it. - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any -instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned -to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a -project or community include using an official project e-mail address (the email address given is not an official email address), posting via an official social media account, -or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting me at my Discord: PeacefulPotato#4024. All complaints will be reviewed and -investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality -with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq -- 2.38.5 From 11a9a606ba66d04db766914e03fb5187551503cd Mon Sep 17 00:00:00 2001 From: ziproot Date: Mon, 25 Oct 2021 02:38:03 +0000 Subject: [PATCH 17/20] Add license Now it's actually open source. --- LICENSE | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6dc5eed --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2021 ziproot + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file -- 2.38.5 From 143e5ea5577c751f4669aed0321d514571abe346 Mon Sep 17 00:00:00 2001 From: ziproot Date: Mon, 25 Oct 2021 02:42:33 +0000 Subject: [PATCH 18/20] Delete 'LICENSE' --- LICENSE | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 6dc5eed..0000000 --- a/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2021 ziproot - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file -- 2.38.5 From 2641f69e65ce4c86909fa6f2d75ee9cf26d45361 Mon Sep 17 00:00:00 2001 From: ziproot Date: Thu, 11 Nov 2021 04:52:02 +0000 Subject: [PATCH 19/20] Fix minor typo --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9f575f..261ca69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,7 @@ Questions are things that you are unsure about. When in doubt, mark it as a ques ## Enhancements Enhancements are things you want to improve. Be sure to label it based on what type of enhancement it is: Security: This is an improvement to security you would like to see, such as RSA encryption. -QOL: This is an improvement to quality of life you would like to see, such as more lanugages as codes. If in doubt, mark it as QOL. +QOL: This is an improvement to quality of life you would like to see, such as more languages as codes. If in doubt, mark it as QOL. Documentation: This is an improvement to documentation you would like to see. Be sure to format the enhancement as dictated in the feature request template. # Pull Requests -- 2.38.5 From a281212a3f858db3126d66095a0dbb6b67e76238 Mon Sep 17 00:00:00 2001 From: ziproot Date: Thu, 2 Dec 2021 03:44:44 +0000 Subject: [PATCH 20/20] Now correctly mentions Gitea and not Github. --- SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index 2f539a2..4cfb94c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,4 +6,4 @@ Always use the latest version to get the best security. Only the latest version ## Reporting a Vulnerability -Since this is an obsfucation program, if there's some security problem, that's either a bug or an enhancement. Report it using github features request and use the security label. +Since this is an obsfucation program, if there's some security problem, that's either a bug or an enhancement. Report it using gitea features request and use the security label. -- 2.38.5