Package org.python.modules
Class _hashlib
- java.lang.Object
-
- org.python.modules._hashlib
-
- All Implemented Interfaces:
ClassDictInit
public class _hashlib extends java.lang.Object implements ClassDictInit
The Python _hashlib module: provides hashing algorithms via java.security.MessageDigest. The 'openssl' method prefix is to match CPython and provide what the pure python hashlib.py module expects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
_hashlib.Hash
A generic wrapper around a MessageDigest.
-
Field Summary
Fields Modifier and Type Field Description static PyFrozenSet
openssl_md_meth_names
-
Constructor Summary
Constructors Constructor Description _hashlib()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
classDictInit(PyObject dict)
static PyObject
new$(java.lang.String name)
static PyObject
new$(java.lang.String name, PyObject obj)
static PyObject
openssl_md5()
static PyObject
openssl_md5(PyObject obj)
static PyObject
openssl_sha1()
static PyObject
openssl_sha1(PyObject obj)
static PyObject
openssl_sha224()
static PyObject
openssl_sha224(PyObject obj)
static PyObject
openssl_sha256()
static PyObject
openssl_sha256(PyObject obj)
static PyObject
openssl_sha384()
static PyObject
openssl_sha384(PyObject obj)
static PyObject
openssl_sha512()
static PyObject
openssl_sha512(PyObject obj)
-
-
-
Field Detail
-
openssl_md_meth_names
public static final PyFrozenSet openssl_md_meth_names
-
-
Method Detail
-
classDictInit
public static void classDictInit(PyObject dict)
-
new$
public static PyObject new$(java.lang.String name)
-
openssl_md5
public static PyObject openssl_md5()
-
openssl_sha1
public static PyObject openssl_sha1()
-
openssl_sha224
public static PyObject openssl_sha224()
-
openssl_sha256
public static PyObject openssl_sha256()
-
openssl_sha384
public static PyObject openssl_sha384()
-
openssl_sha512
public static PyObject openssl_sha512()
-
-