Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7670069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:44:17+00:00 2026-05-31T15:44:17+00:00

The Austrian Commercial Opt-Out list is provided as raw binary file with sha-1 hash

  • 0

The Austrian Commercial Opt-Out list is provided as raw binary file with sha-1 hash values each 20 bytes. How to read and convert it to VARCHAR2 with PL/SQL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:44:18+00:00Added an answer on May 31, 2026 at 3:44 pm

    My colleague found the answer:
    The additional email address is just for verification of the conversion.
    The test hash file is taken from the official Austrian website: http://www.rtr.at/de/tk/nutzenecg

    DECLARE
      vInHandle  utl_file.file_type;
      V1 RAW(32767);
      vEmail VARCHAR2(200) := 'karl.testinger@firma.at';
    BEGIN
      --open file 
      vInHandle := utl_file.fopen('RECEIVE', 'testliste.hash', 'R');
      --read raw 20 bytes
      UTL_FILE.GET_RAW(vInHandle,V1,20); 
      --convert raw 20 bytes to HEX
      dbms_output.put_line('Compiled hash:'||LOWER (TO_CHAR (RAWTOHEX (v1))));
    
      --convert email to hash
      dbms_output.put_line('Email hash:   '||LOWER (sys.dbms_crypto.HASH(utl_raw.cast_to_raw(vEmail),sys.dbms_crypto.hash_sh1))); 
    
    
    
    END fopen;
    /
    

    If both outputs are the same, everything is working fine. The ORACLE user must have grants to execute the dbms_crypto package.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to grab the values of specific tags out of a bib file.
I have a plain text file which have the list of countries as follows.
I have the following hash of countries; COUNTRIES = { 'Albania' => 'AL', 'Austria'
I'm trying to figure out how (if possible, which I'm sure I can) to
Is there a way of automatically generating a HTML-Map compatible list of coordinates of
How do I import this data file to MySQL table? 1,AF,Afghanistan 2,AX,Aland Islands 3,AL,Albania
Below is a PHP array I have, it has countries list 1 to 228
I want th auto generate values for the empId (or empName) when inserting values
I want to use php array for HTML select list. In this case it
drop down value not appearing for second list , tried everything .When user selects

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.