diff --git a/include/fc/crypto/sha256.hpp b/include/fc/crypto/sha256.hpp index bdc6737..07c5bdd 100644 --- a/include/fc/crypto/sha256.hpp +++ b/include/fc/crypto/sha256.hpp @@ -117,8 +117,6 @@ namespace raw { void to_variant( const sha256& bi, variant& v, uint32_t max_depth ); void from_variant( const variant& v, sha256& bi, uint32_t max_depth ); - uint64_t hash64(const char* buf, size_t len); - } // fc namespace std { diff --git a/src/crypto/sha256.cpp b/src/crypto/sha256.cpp index c3edd9b..d5d7975 100644 --- a/src/crypto/sha256.cpp +++ b/src/crypto/sha256.cpp @@ -205,12 +205,6 @@ namespace fc { memcpy( &bi, ve.data(), std::min(ve.size(),sizeof(bi)) ); } - uint64_t hash64(const char* buf, size_t len) - { - sha256 sha_value = sha256::hash(buf,len); - return sha_value._hash[0]; - } - template<> unsigned int hmac::internal_block_size() const { return 64; } } //end namespace fc