Fix CipherUtil and create debug page