starting encrypted block implementation