I am no way experienced in this type of thing so I am not even sure of the keywords (hence the title). Basically I need a two way function
encrypt(w,x,y) =