update event handling
update encrypt und decrypt with empty secretKey