debugging encryption