diff --git a/hashlib/hashlib/__init__.py b/hashlib/hashlib/__init__.py index 2d2c0b19..f71c490d 100644 --- a/hashlib/hashlib/__init__.py +++ b/hashlib/hashlib/__init__.py @@ -1,2 +1,2 @@ -from .sha256 import * -from .sha512 import * +from .sha256 import sha224, sha256 +from .sha512 import sha384, sha512 diff --git a/hashlib/metadata.txt b/hashlib/metadata.txt index da6df32b..63be0a56 100644 --- a/hashlib/metadata.txt +++ b/hashlib/metadata.txt @@ -1,3 +1,3 @@ srctype=pypy type=package -version=2.4.0-1 +version=2.4.0-2 diff --git a/hashlib/setup.py b/hashlib/setup.py index 94b9295d..ac207a4f 100644 --- a/hashlib/setup.py +++ b/hashlib/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-hashlib', - version='2.4.0-1', + version='2.4.0-2', description='PyPy hashlib module ported to MicroPython', long_description='This is a module ported from PyPy standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.', url='https://github.com/micropython/micropython/issues/405',