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/crypto/encryptor.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace base { |
| 10 |
| 11 Encryptor::Encryptor() { |
| 12 } |
| 13 |
| 14 Encryptor::~Encryptor() { |
| 15 } |
| 16 |
| 17 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { |
| 18 NOTIMPLEMENTED(); |
| 19 return false; |
| 20 } |
| 21 |
| 22 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { |
| 23 NOTIMPLEMENTED(); |
| 24 return false; |
| 25 } |
| 26 |
| 27 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { |
| 28 NOTIMPLEMENTED(); |
| 29 return false; |
| 30 } |
| 31 |
| 32 } // namespace base |
OLD | NEW |