def METHOD_NAME(identity: str, index: int, num: int) -> Bip32Path:
    from ustruct import pack, unpack
    from apps.common.paths import HARDENED
    identity_hash = sha256(pack("<I", index) + identity.encode()).digest()
    return [HARDENED | x for x in (num,) + unpack("<IIII", identity_hash[:16])]