From ec8a695e7a4041575733d30b2dba07092ef3cf08 Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Thu, 14 Jul 2022 22:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=80=E4=BA=9Bc=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E7=9A=84=E5=AF=BC=E5=87=BA=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cocos/scrypt/native-crypto.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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