import base64


def extract_salt(salted_ciphertext: bytes):
    """
    Extract salt and ciphertext from salted ciphertext and returns as a tuple
    """
    encoded_salt, ciphertext = salted_ciphertext.split(b':')
    salt = base64.urlsafe_b64decode(encoded_salt)
    return salt, ciphertext