oracle里面base64加解密


1. base64 的解密函数
select utl_raw.cast_to_varchar2(utl_encode.base64_decode(utl_raw.cast_to_raw('dGVzdA=='))) from dual

2. base64 的加密函数
select utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('test'))) from dual

posted @ 2015-09-28 17:39  princessd8251  阅读(2909)  评论(0编辑  收藏  举报