some encryptionstuff, unfinished