lhfsp 1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
lhfsp-1.0/PKG-INFO ADDED
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: lhfsp
3
+ Version: 1.0
@@ -0,0 +1,3 @@
1
+ print('! WARNING !\nDont use LHFSP (Light Hash For Small Projects) to do big projects, cause you can face security problems. LHFSP is made for small projects not meant to be hacked as a light hashing method. thanks!')
2
+
3
+ from .main import lighthash
@@ -0,0 +1,10 @@
1
+ def lighthash(text):
2
+ global y, z
3
+ hashtextlist = []
4
+ for char in text:
5
+ x = ord(char)
6
+ r = (x**2013)%2908
7
+ hashchar = chr(r)
8
+ hashtextlist.append(hashchar)
9
+ hashtext = "".join(hashtextlist)
10
+ return hashtext
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: lhfsp
3
+ Version: 1.0
@@ -0,0 +1,7 @@
1
+ setup.py
2
+ lhfsp/__init__.py
3
+ lhfsp/main.py
4
+ lhfsp.egg-info/PKG-INFO
5
+ lhfsp.egg-info/SOURCES.txt
6
+ lhfsp.egg-info/dependency_links.txt
7
+ lhfsp.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ lhfsp
lhfsp-1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
lhfsp-1.0/setup.py ADDED
@@ -0,0 +1,8 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='lhfsp',
5
+ version='1.0',
6
+ packages=find_packages(),
7
+ install_requires=[],
8
+ )