-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
-#include "base/macros.h"
#include "crypto/crypto_export.h"
namespace crypto {
public:
enum Algorithm {
SHA256,
+ SHA512,
};
+
+ SecureHash(const SecureHash&) = delete;
+ SecureHash& operator=(const SecureHash&) = delete;
+
virtual ~SecureHash() {}
static std::unique_ptr<SecureHash> Create(Algorithm type);
protected:
SecureHash() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SecureHash);
};
} // namespace crypto