Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Error while try to encrypt with password with password.lenght > 8 & password.lenght < 16 #306

Open
lnavarrogeodb opened this issue Sep 25, 2019 · 0 comments

Comments

@lnavarrogeodb
Copy link

lnavarrogeodb commented Sep 25, 2019

Hi! I´m trying to create and read keystore (Encrypt-Decrypt) and the library works fine but the problem appears when I try to use a encrypt password with length between 8 to 16.

For example:
password = "123456789"

Encrypt:
derivedKey = "791bf260a8c362983059cdd442ec0d3548aff0d600be4bb784199e549fd1c341"
salt = "d4b0799b37a015a45e6a8a98e1208120294a105e9478104f9f97ef0fc113acd7"
N = 4096
R = 6
P = 1

Decrypt:
derivedKey = "84015c148c59b79503350963a511c6d4a4a68436cf4dab983aa33118b9d3db0b"
salt = "d4b0799b37a015a45e6a8a98e1208120294a105e9478104f9f97ef0fc113acd7"
N = 4096
R = 6
P = 1

Is in pod dependency called scrypt.c

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

No branches or pull requests

1 participant