encryption algorithm | ScratchStats