diff options
Diffstat (limited to 'sync/util/data_encryption_win.h')
-rw-r--r-- | sync/util/data_encryption_win.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sync/util/data_encryption_win.h b/sync/util/data_encryption_win.h new file mode 100644 index 0000000..f671ad8 --- /dev/null +++ b/sync/util/data_encryption_win.h @@ -0,0 +1,20 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef SYNC_UTIL_DATA_ENCRYPTION_WIN_H_ +#define SYNC_UTIL_DATA_ENCRYPTION_WIN_H_ +#pragma once + +#include <string> +#include <vector> + +#include "base/basictypes.h" + +using std::string; +using std::vector; + +vector<uint8> EncryptData(const string& data); +bool DecryptData(const vector<uint8>& in_data, string* out_data); + +#endif // SYNC_UTIL_DATA_ENCRYPTION_WIN_H_ |