def decrypt_value(salted_value): salt, encrypted_value = salted_value.split("$", 1) return decrypt(encrypted_value, ENCRYPTION_KEY + salt)
def decrypt_value(salted_value): salt, encrypted_value = salted_value.split("$", 1) return decrypt(encrypted_value, ENCRYPTION_KEY+salt)