R. Kayalvizhi

12 papers Journal 9Unranked 3
YearRankTypeTitle / Venue / Authors
2024 conf
ICCIDS (1)
H. Heartlin Maria, R. Kayalvizhi, Keren Evangeline I., T. George Princess, T. Rashmika Mangalya, J. Shakthi Prakash
2024 J jnl
J. Internet Serv. Inf. Secur.
G. Parimala, R. Kayalvizhi
2023 J jnl
IEEE Access
Asha Abraham, Habeeb Shaik Mohideen, R. Kayalvizhi
2023 J jnl
Medical Biol. Eng. Comput.
R. Kayalvizhi, H. Heartlin Maria, S. Malarvizhi, Revathi Venkatraman, Shantanu Patil
2023 J jnl
J. Real Time Image Process.
H. Heartlin Maria, R. Kayalvizhi, S. Malarvizhi, Revathi Venkatraman, Shantanu Patil, A. Senthil Kumar
2012 J jnl
Int. J. Online Eng.
R. Mani Kumar, R. Kayalvizhi
2011 J jnl
CoRR
A. V. Meenakshi, V. Punitham, R. Kayalvizhi, S. Asha
2011 J jnl
Eng. Appl. Artif. Intell.
P. D. Sathya, R. Kayalvizhi
2011 J jnl
Expert Syst. Appl.
P. D. Sathya, R. Kayalvizhi
2011 J jnl
Neurocomputing
P. D. Sathya, R. Kayalvizhi
2010 conf
CNSA
R. Kayalvizhi, M. Vijayalakshmi, Vaidehi V.
2010 conf
CNSA
R. Kayalvizhi, R. Harihara Subramanian, R. Girish Santhosh, J. Gurubaran, Vaidehi V.
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