예제 #1
0
def decrypt_value(salted_value):
    salt, encrypted_value = salted_value.split("$", 1)
    return decrypt(encrypted_value, ENCRYPTION_KEY + salt)
예제 #2
0
def decrypt_value(salted_value):
    salt, encrypted_value = salted_value.split("$", 1)
    return decrypt(encrypted_value, ENCRYPTION_KEY+salt)