OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/string_util.h" |
| 6 #include "chrome/browser/password_manager/login_database.h" |
| 7 |
| 8 // TODO: Actually encrypt passwords on Linux. |
| 9 |
| 10 std::string LoginDatabase::EncryptedString(const string16& plain_text) |
| 11 const { |
| 12 return UTF16ToASCII(plain_text); |
| 13 } |
| 14 |
| 15 string16 LoginDatabase::DecryptedString(const std::string& cipher_text) |
| 16 const { |
| 17 return ASCIIToUTF16(cipher_text); |
| 18 } |
OLD | NEW |