MD5 함수

2014. 5. 8. 10:54Database/Oracle

CREATE OR REPLACE FUNCTION UHSOFT.F_MD5_CRIPT( V_PASSWORD VARCHAR2 )
RETURN sys.dbms_obfuscation_toolkit.varchar2_checksum AS
BEGIN
    RETURN LOWER(RAWTOHEX(UTL_RAW.CAST_TO_RAW(sys.dbms_obfuscation_toolkit.md5( input_string => V_PASSWORD ))));
END;