High-resistance HTS edge junctions for digital circuits