Naga Vemprala

14 papers Journal 5Unranked 9
YearRankTypeTitle / Venue / Authors
2024 conf
AMCIS
Naveen Gudigantala, Tyler Tran, Naga Vemprala
2023 J jnl
ACM Trans. Manag. Inf. Syst.
Patricia Akello, Naga Vemprala, Nicole Lang Beebe, Kim-Kwang Raymond Choo
2023 J jnl
Decis. Sci.
Naga Vemprala, Charles Zhechao Liu, Kim-Kwang Raymond Choo
2023 conf
HICSS
Paras Bhatt, Naga Vemprala, Rohit Valecha, Govind Hariharan, H. Raghav Rao
2023 J jnl
Inf. Syst. Frontiers
Paras Bhatt, Naga Vemprala, Rohit Valecha, Govind Hariharan, H. Raghav Rao
2021 conf
AMCIS
Naga Vemprala, Naveen Gudigantala, Raj Chaganti
2021 J jnl
CoRR
Raj Chaganti, Deepti Gupta, Naga Vemprala
2020 conf
AMCIS
Naga Vemprala, Patricia Akello, Rohit Valecha, H. Raghav Rao
2020 conf
ECIS
Naga Vemprala, Charles Zhechao Liu, Kim-Kwang Raymond Choo
2020 J jnl
Int. J. Inf. Manag.
H. Raghav Rao, Naga Vemprala, Patricia Akello, Rohit Valecha
2019 conf
HICSS
Naga Vemprala, Glenn Dietrich
2019 conf
HICSS
Naga Vemprala, Rachael Ruizhu Xiong, Charles Zhechao Liu, Kim-Kwang Raymond Choo
2018 conf
AMCIS
Tejaswi Volety, Rohit Valecha, Naga Vemprala, Kyounghee Hazel Kwon, H. Raghav Rao
2018 conf
AMCIS
Naga Vemprala, Charles Zhechao Liu, Rachael Ruizhu Xiong, Kim-Kwang Raymond Choo
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