Finished encryption portion of square code