More work on encryption