-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Create keyFinder.js #78
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
Conversation
Find and retrieve the encryption key automatically Note: This is a draft version, please help to modify, Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make it js file instead of a file without extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that the file extension is renewed to js format, thank you.
This pull request introduces 1 alert when merging 5a75bca into 7b82729 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
optimized the indentation for the if statement in line 18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optimize the indentation of if statement in line 18
This pull request introduces 1 alert when merging e0fa99b into 7b82729 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comments
some changes is made to optimize the function
This pull request introduces 1 alert when merging e41ad76 into 7b82729 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ES6 is used to fix such error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still alert raised can you check it
Made 2 changes to optimize the match results: 1. use a loop to find the next digit of wordbank element and compare with outStr's digit 2. this part need to be optimize with the calculation of the number of occurance of word's probabilities
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made 2 changes to optimize the match results:
- use a loop to find the next digit of wordbank element and compare with outStr's digit
- this part need to be optimize with the calculation of the number of occurance of word's probabilities
I would like you to see this article for usage of let and const instead of var https://medium.com/javascript-scene/javascript-es6-var-let-or-const-ba58b8dcde75 |
Find and retrieve the encryption key automatically
Note: This is a draft version, please help to modify, Thanks!