Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible to scrypt reference implementation #14

Open
smessmer opened this issue Nov 25, 2015 · 0 comments
Open

Incompatible to scrypt reference implementation #14

smessmer opened this issue Nov 25, 2015 · 0 comments

Comments

@smessmer
Copy link

scrypt-jane seems to generate a keystream different to the one generated by the reference implementation. Example:

N=1024, r=1, p=1,
salt (hex) = "0AF023E55F804AD303C1DBDF6A2B2BED8CC1AB3D0B2F3312C073628DC041E6F3",
pw (ascii) = "mypassword"
Compiler parameters for scrypt-jane: -DSCRYPT_SALSA -DSCRYPT_SHA256

Stream (hex) generated by scrypt reference implementation:

76596404E35C5745E7842435F299524D6DB0743BECD68AEFB0E5811465015F75F337B0AAE51EFF89359BC41FCFBB9CF0E935C5C2D649854827E170AC6F9AA86A3B08959425969536EB8D15A438B79E85E4FB77CBDD8BBFB3    

Stream (hex) generated by scrypt-jane:

15F92C2AC917F5FD864D6BC0D0FE15EDDFCAFE5908A0F2A0D078D4842F525AE52335FD1EE74FC6A4A1D6E44A3873630BE29FCAA81F3F613CE83D30899E69CA57E87157102CB526FEE834F81A3BCE487AF1DEA6CEB37008D3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant