Notes on log encryption