[go: nahoru, domu]

blob: 591252dc225393a1cbc20916a93d51f6a5b2d5af [file] [log] [blame]
joth@chromium.org70372d42010-10-22 13:12:341// 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/symmetric_key.h"
6
7#include "base/logging.h"
8
9namespace base {
10
11SymmetricKey::~SymmetricKey() {
12}
13
14// static
15SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
16 size_t key_size_in_bits) {
17 NOTIMPLEMENTED();
18 return NULL;
19}
20
21// static
22SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
23 const std::string& password,
24 const std::string& salt,
25 size_t iterations,
26 size_t key_size_in_bits) {
27 NOTIMPLEMENTED();
28 return NULL;
29}
30
31// static
32SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
33 const std::string& raw_key) {
34 NOTIMPLEMENTED();
35 return NULL;
36}
37
38bool SymmetricKey::GetRawKey(std::string* raw_key) {
39 NOTIMPLEMENTED();
40 return false;
41}
42
43} // namespace base