]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/pbkdf2.py
I've discovered Python's __all__ variable and make use of it in all modles
[oss/ctypescrypto.git] / ctypescrypto / pbkdf2.py
index 0c2b077f175804048e268c918de3d180fff72313..c2e01bbe95de7e8dc5a53d31801e40366cd40ec3 100644 (file)
@@ -7,6 +7,8 @@ from ctypes import c_char_p,c_int, c_void_p, create_string_buffer
 from ctypescrypto import libcrypto
 from ctypescrypto.digest import DigestType
 
+__all__ = ['pbkdf2']
+
 def pbkdf2(password,salt,outlen,digesttype="sha1",iterations=2000):
        """
                Interface to PKCS5_PBKDF2_HMAC function