REM Is it possible to know the password of your users when the password has expired? Of course, it is!
REM By making your own "verify_function", you can access old and new passwords!
REM To test that your "verify_function" inhibits obvious passwords like 'qwerty' or 'zeus', here is a
REM little sample script to check the password of your users.
REM source du script : http://www.dbasupport.com/oracle/scripts/Detailed/228.shtml

create table user_pass(username varchar2(30), new_pass varchar2(30), old_pass varchar2(30), date_log date);

create or replace function fonc_pass
(username varchar2,
password varchar2,
old_password varchar2)
return boolean is
n boolean;
m integer;
differ integer;
isdigit boolean;
ischar boolean;
ispunct boolean;
digitarray varchar2(20);
punctarray varchar2(25);
chararray varchar2(52);

begin
insert into user_pass values(username,password,old_password,sysdate);
return(true);
end;
/