eqemu-server/loginserver/encryption.h
2016-10-31 21:19:48 -07:00

8 lines
347 B
C++

#pragma once
#include <string>
const char* eqcrypt_block(const char *buffer_in, size_t buffer_in_sz, char* buffer_out, bool enc);
std::string eqcrypt_hash(const std::string &username, const std::string &password, int mode);
bool eqcrypt_verify_hash(const std::string &username, const std::string &password, const std::string &pwhash, int mode);