encrypt works again

fixed dropped octet bug in encrypt