diff --git a/cocos/scrypt/native-crypto.h b/cocos/scrypt/native-crypto.h index c37ecc5..cbc09b1 100644 --- a/cocos/scrypt/native-crypto.h +++ b/cocos/scrypt/native-crypto.h @@ -48,11 +48,12 @@ extern "C" { int fast_crypto_scrypt (const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, size_t saltlen, uint64_t N, uint32_t r, uint32_t p, uint8_t *buf, size_t buflen); +int crypto_scrypt_base64(std::string *password, std::string *salt, uint64_t N, + uint32_t r, uint32_t p, size_t size, std::string *value); #ifdef __cplusplus } #endif -int crypto_scrypt_base64(std::string *password, std::string *salt, uint64_t N, - uint32_t r, uint32_t p, size_t size, std::string *value); + #endif // native_crypto_h