MCPcopy Create free account
hub / github.com/LUX-Core/lux / scrypt_hash

Function scrypt_hash

src/hash.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void scrypt_hash(const char* pass, unsigned int pLen, const char* salt, unsigned int sLen, char* output, unsigned int N, unsigned int r, unsigned int p, unsigned int dkLen)
87{
88 scrypt(pass, pLen, salt, sLen, output, N, r, p, dkLen);
89}
90
91#define ROTL(x, b) (uint64_t)(((x) << (b)) | ((x) >> (64 - (b))))
92

Callers 4

ComputePreFactorFunction · 0.85
ComputeSeedBPassFunction · 0.85
BIP38_EncryptFunction · 0.85
BIP38_DecryptFunction · 0.85

Calls 1

scryptFunction · 0.85

Tested by

no test coverage detected