You are viewing a single comment's thread. Return to all comments →
typesciprt
function encryption(s: string): string { const cleanS = s.split("").join("") const srtL = Math.ceil(Math.sqrt(cleanS.length)) return [...cleanS].reduce((cypfer, character, index) => { cypfer[index % srtL] += character return cypfer }, Array(srtL).fill("")).join(" ") }
Seems like cookies are disabled on this browser, please enable them to open this website
Encryption
You are viewing a single comment's thread. Return to all comments →
typesciprt