Skip to content

Commit

Permalink
Fixed an issue with the AES key generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtrendence committed Jan 1, 2022
1 parent 3f98129 commit c4612f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/CryptoFD.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CryptoFD {
let characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
let charactersLength = characters.length;

for(let i = 0; i < length; i++) {
for(let i = 0; i < charactersLength; i++) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}

Expand Down

0 comments on commit c4612f9

Please sign in to comment.