basic ecies class