RSA Security interview question

Anagram, destructuring, spread operator and HOF.