document very roughly the cipher bits and pieces