From secret box to encryption