-1
I searched on the internet a precedent for encrypt the users password, however I only found functions.
There is how to generate a Procedure to carry out 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;
Just change the declaration to Process and remove the Return and use the RAWTOHEX return as you wish.
– Confundir