Encript a string into a square