I searched the internet for a procedure to encrypt users password , however I only found functions .
Is there a way to generate a procedure to perform this process?
CREATE OR REPLACE FUNCTION MD5(VALOR VARCHAR)
RETURN VARCHAR2
IS
V_INPUT VARCHAR2(2000) := VALOR;
HEXKEY VARCHAR2(32) := NULL;
BEGIN
HEXKEY := RAWTOHEX(DBMS_OBFUSCATION_TOOLKIT.MD5(INPUT => UTL_RAW.CAST_TO_RAW(V_INPUT)));
RETURN NVL(HEXKEY, '');
END;