Kapali P. Eswaran

14 papers A* 3Journal 10Unranked 1
YearRankTypeTitle / Venue / Authors
1982 A* conf
VLDB
Sten Andler, I. Ding, Kapali P. Eswaran, Carl Hauser, Won Kim, James W. Mehl, R. Williams
1981 J jnl
IEEE Trans. Software Eng.
Kapali P. Eswaran, V. Carl Hamacher, Gerald S. Shedler
1981 J jnl
IEEE Database Eng. Bull.
Kapali P. Eswaran
1978 J jnl
Int. J. Parallel Program.
Tien Chi Chen, Kapali P. Eswaran, Vincent Y. Lum, C. Tung
1977 J jnl
Commun. ACM
Mike W. Blasgen, Richard G. Casey, Kapali P. Eswaran
1977 J jnl
IBM Syst. J.
Mike W. Blasgen, Kapali P. Eswaran
1976 A* conf
ICSE
Kapali P. Eswaran
1976 J jnl
SIAM J. Comput.
Kapali P. Eswaran, Robert Endre Tarjan
1976 J jnl
IBM J. Res. Dev.
Donald D. Chamberlin, Morton M. Astrahan, Kapali P. Eswaran, Patricia P. Griffiths, Raymond A. Lorie, James W. Mehl, Phyllis Reisner, Bradford W. Wade
1976 J jnl
ACM Trans. Database Syst.
Morton M. Astrahan, Mike W. Blasgen, Donald D. Chamberlin, Kapali P. Eswaran, Jim Gray, Patricia P. Griffiths, W. Frank King III, Raymond A. Lorie, Paul R. McJones, James W. Mehl, Gianfranco R. Putzolu, Irving L. Traiger, Bradford W. Wade, Vera Watson
1976 J jnl
Commun. ACM
Kapali P. Eswaran, Jim Gray, Raymond A. Lorie, Irving L. Traiger
1975 J jnl
SIAM J. Comput.
Kapali P. Eswaran
1975 A* conf
VLDB
Kapali P. Eswaran, Donald D. Chamberlin
1974 conf
IFIP Congress
Kapali P. Eswaran
redb/extractors/decompiler/bninja/utils/hashes.py
← Index redb/extractors/decompiler/bninja/utils/hashes.py python
import hashlib

import tlsh


def calculate_md5(input_str):
    return hashlib.md5(input_str.encode("utf-8")).hexdigest()


def calculate_sha256(input_str):
    """Calculate SHA256 hash of a string."""
    return hashlib.sha256(input_str.encode("utf-8")).hexdigest()

def calculate_tlsh(data):
    """Calculate TLSH fuzzy hash of data if available.

    Args:
        data: The string data to calculate the hash for

    Returns:
        The TLSH hash as a string, or None if not available

    Note:
        TLSH requires at least 50 bytes of data to generate a hash
    """
    try:
        if len(data) >= 50:
            return tlsh.hash(data.encode("utf-8"))
    except Exception:
        pass
    return None