danicoin/src/CryptoNoteCore/CryptoNoteBasic.cpp

17 lines
387 B
C++
Raw Normal View History

// Copyright (c) 2011-2016 The Cryptonote developers
2014-06-25 17:21:42 +00:00
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
2015-07-30 15:22:07 +00:00
#include "CryptoNoteBasic.h"
#include "crypto/crypto.h"
2014-06-25 17:21:42 +00:00
2015-05-27 12:08:46 +00:00
namespace CryptoNote {
2014-06-25 17:21:42 +00:00
2015-07-30 15:22:07 +00:00
KeyPair generateKeyPair() {
KeyPair k;
Crypto::generate_keys(k.publicKey, k.secretKey);
return k;
2014-06-25 17:21:42 +00:00
}
2015-07-30 15:22:07 +00:00
2014-06-25 17:21:42 +00:00
}