MySQL 암복호화

encode 양방향 암호화
decode 양방향 복호화
password 단방향 암호화

예제

SELECT AdminNames
     ,encode(AdminNames,'securekey') AS encode
     ,decode(encode(AdminNames,'securekey'),'securekey') AS decode
     ,password(AdminNames) AS password
FROM admin