Author | Message |
---|---|
ykim85
Posts: 26
|
Posted 13:33 Mar 07, 2017 |
Has anyone come across a problem creating more than one hash crypto instances? Does anyone have any tips because i'm getting errors with digest() |
dbravoru
Posts: 60
|
Posted 13:42 Mar 07, 2017 |
you cant use the hash instance after you digest. it's in the documentation I think. |
fmontes3
Posts: 11
|
Posted 13:45 Mar 07, 2017 |
Yeah I had that problem. I solved it by declaring hash inside the loop so a new one is created everytime it's needed. Though I never tried making it a "let" instead of a "const". Hope that helps. |
ykim85
Posts: 26
|
Posted 14:22 Mar 07, 2017 |
FMONTES3+++++++++++++++++++++++++++++++++++++++++100 |