Vikas Bansal

21 papers A 1B 3C 1Misc 1Journal 14
YearRankTypeTitle / Venue / Authors
2025 J jnl
PLoS Comput. Biol.
Sara Javadzadeh, Aaron Adamson, Jonghun Park, Se-Young Jo, Yuan-Chun Ding, Mehrdad Bakhtiari, Vikas Bansal, Susan L. Neuhausen, Vineet Bafna
2023 J jnl
Bioinform.
Timofey Prodanov, Vikas Bansal
2019 J jnl
Bioinform.
Vikas Bansal
2018 J jnl
Bioinform.
Vikas Bansal
2018 B conf
RECOMB
Mehrdad Bakhtiari, Sharona Shleizer-Burko, Melissa Gymrek, Vikas Bansal, Vineet Bafna
2017 J jnl
BMC Bioinform.
Vikas Bansal
2016 J jnl
Bioinform.
Vikas Bansal, Ondrej Libiger
2015 J jnl
BMC Bioinform.
Vikas Bansal, Ondrej Libiger
2011 J jnl
Bioinform.
Vikas Bansal, Ondrej Libiger
2011 Misc conf
Pacific Symposium on Biocomputing
Vikas Bansal, Ondrej Libiger, Ali Torkamani, Nicholas J. Schork
2011 J jnl
BMC Bioinform.
Christine Lo, Ali Bashir, Vikas Bansal, Vineet Bafna
2010 J jnl
PLoS Comput. Biol.
Gaurav Bhatia, Vikas Bansal, Olivier Harismendy, Nicholas J. Schork, Eric J. Topol, Kelly A. Frazer, Vineet Bafna
2010 J jnl
Bioinform.
Vikas Bansal
2008
Vikas Bansal
2008 C conf
ECCB
Vikas Bansal, Vineet Bafna
2007 J jnl
J. Comput. Biol.
Dan Gusfield, Vikas Bansal, Vineet Bafna, Yun S. Song
2006 J jnl
J. Comput. Biol.
Vineet Bafna, Vikas Bansal
2005 B conf
RECOMB
Dan Gusfield, Vikas Bansal
2005 B conf
RECOMB
Vineet Bafna, Vikas Bansal
2004 A conf
ESA
Vikas Bansal, Friedhelm Meyer auf der Heide, Christian Sohler
2004 J jnl
IEEE ACM Trans. Comput. Biol. Bioinform.
Vineet Bafna, Vikas Bansal
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