A note on encryption