-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1c4b90b
Showing
79 changed files
with
60,603 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class AppConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'app' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from django import forms | ||
|
||
|
||
|
||
class Get_str_form(forms.Form): | ||
hash_str = forms.CharField(widget=forms.Textarea(attrs={"class":"form-control"}),max_length=250) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import hashlib | ||
|
||
|
||
class Hash_Genrator: | ||
|
||
def __init__(self,str_input): | ||
self.hash_str = str_input | ||
def md5(self): | ||
return hashlib.md5(self.hash_str.encode('utf-8')).hexdigest() | ||
def sha1(self): | ||
return hashlib.sha1(self.hash_str.encode('utf-8')).hexdigest() | ||
def sha224(self): | ||
return hashlib.sha224(self.hash_str.encode('utf-8')).hexdigest() | ||
def sha256(self): | ||
return hashlib.sha256(self.hash_str.encode('utf-8')).hexdigest() | ||
def sha384(self): | ||
return hashlib.sha384(self.hash_str.encode('utf-8')).hexdigest() | ||
def sha512(self): | ||
return hashlib.sha512(self.hash_str.encode('utf-8')).hexdigest() | ||
def blake2b(self): | ||
return hashlib.blake2b(self.hash_str.encode('utf-8')).hexdigest() | ||
def blake2s(self): | ||
return hashlib.blake2s(self.hash_str.encode('utf-8')).hexdigest() | ||
|
||
|
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
Oops, something went wrong.