Encrypting the string 'mytext' :

ENCODE('mytext','mykeystring')