Class _hashlib.Hash

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    _hashlib

    public static class _hashlib.Hash
    extends PyObject
    A generic wrapper around a MessageDigest.
    See Also:
    Serialized Form
    • Field Detail

      • TYPE

        public static final PyType TYPE
      • name

        public java.lang.String name
        The hash algorithm name.
    • Constructor Detail

      • Hash

        public Hash​(java.lang.String name)
    • Method Detail

      • update

        public void update​(PyObject obj)
      • hexdigest

        public PyObject hexdigest()
      • getDigestSize

        public int getDigestSize()
      • getDigest_size

        public int getDigest_size()
      • getBlockSize

        public PyObject getBlockSize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class PyObject