Search notes:

Oracle SQL function: ORA_HASH

ora_hash(expr) calculates a hash value for expr.
ora_hash(…) is not available in PL/SQL.
ora_hash(expr)
ora_hash(expr, max_bucket)
ora_hash(expr, max_bucket, seed_value)
ora_hash(expr, max_bucket, seed_value, unknown_1)
ora_hash(expr, max_bucket, seed_value, unknown_1, unkonwn_2)

Not suitable for LOBs (and LONGs)

ora_hash(expr) returns an unpredictable value if expr is a lob or long type, as is demonstrated in the following example:
create table drop_me (a clob);

insert into drop_me values ('x');
insert into drop_me values (rpad('4000 ', 4000, 'x'));
insert into drop_me values (rpad('4001 ', 4001, 'x'));

select  a, ora_hash(a) from drop_me;

drop table drop_me;

Unknown parameters

The semantics of the fourth and fifth parameter is unknown to me:
select
   ora_hash(1, 2048, 42           )   h_1,
   ora_hash(1, 2048, 42, 'xyz'    )   h_2,
   ora_hash(1, 2048, 42, 'xyz', 99)   h_3
from
   dual;

See also

Compare with standard_hash(…) (which doesn't accept LOBs, either) and dbms_utility.get_hash_value
Apparently, ora_hash() (or a function uses the same algorithm) is used to calculate the value of module_hash in v$session.
dbms_crypto.hash

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1740555449, '3.138.174.96', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/functions/ora/hash(77): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78