Skip to content

Conversation

@JakubMatwiejew
Copy link

No description provided.

Copy link
Contributor

@Ami777 Ami777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jest ok

'Dzisiaj Szyfruje 83'
]

for(let i=0; i<arr.length; i++){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Czytelniejsze byłoby forEach lub for..of

const hint = "Pobawmy się jak komputerowy Detektyw"
hint.split(' ').forEach(hint => {
password += hint[0] + hint[hint.length - 1];
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super :)

password += hint[0] + hint[hint.length - 1];
});

console.log(decodeText(ENCRYPTED_TEXT, password, 'aes-256-ecb')); No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jak na to wpadłeś? Metodą prób i błędów? Czy dałoby się zautomatyzować?

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

Successfully merging this pull request may close these issues.

2 participants