def METHOD_NAME(key, salt, coded):
    # try:
    # Derive key
    generator = PBKDF2(key, salt)
    aes_iv = generator.read(16)
    aes_key = generator.read(32)
    # Crypto
    mode = AES.MODE_CBC
    cipher = AES.new(aes_key, mode, IV=aes_iv)
    return cipher.decrypt(b64decode(coded)).replace("\x00", "")