def METHOD_NAME(data, fields):
    """
    Encrypts all of the dictionary values in `data` under the keys in `fields`
    in-place operation on `data`
    """
    encrypt_fields = set(data.keys()).intersection(fields)
    for key in encrypt_fields:
        data[key] = encrypt_value(data[key])