• Computes the CKB hash of the given data using the Blake2b algorithm.

    Parameters

    Returns Hex

    The hexadecimal string representation of the hash.

    const hash = hashCkb("some data"); // Outputs something like "0x..."