You are viewing a single comment's thread. Return to all comments →
static String encryption(String s) { s = s.replaceAll("\\s",""); String st = ""; int ceil = (int)Math.ceil(Math.sqrt(s.length())); for(int i = 0; i < ceil; i++){ for(int j = i; j < s.length(); j+=ceil){ st += s.charAt(j); } st += " "; } return st.trim(); }
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 →