def compute_shift(word_encrypted, word_original):
    """Computes the shift by comparing the first characters of two equivalent words."""

    uni_encrypted = ord(word_encrypted[0])
    uni_original = ord(word_original[0])

    print("The encryption was probably done with a shift of {}.".format(uni_encrypted - uni_original))

    return uni_original - uni_encrypted