how can I encode string in HMAC-SHA256 using pl/sql?
I'm working on REST API authorization in PL/SQL using Oracle database 11g Express Edition. I have api_key, nonce and signature as IN variables for every procedure. Signature is a HMAC-SHA256 encoded string containing api_secret stored in my database. I want check if signature matching my api_secret in database. My question is how can I encode string in HMAC-SHA256 using pl/sql? There is SHA256 PL/SQL Implementation for Oracle 10g,11g by CruiserX. Download the package from here . Compile the package and package body in sqlplus. Call the functions like this: SQL> select sha256.encrypt('test