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 7709073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:46:21+00:00 2026-06-01T00:46:21+00:00

I know there’s a function to obtain the hash value from a varchar in

  • 0

I know there’s a function to obtain the hash value from a varchar in Oracle, but when I run the query to see the returned value it sends the following message.

ORA-00904: : identificador no válido
00904. 00000 -  "%s: invalid identifier"
*Cause:    
*Action:
Error en la línea: 70, columna: 7

What I’m doing is the following:

select DBMS_CRYPTO.hash(utl_raw.cast_to_raw('Foo'), 3) FROM dual;

It should return the SHA-1 of the string.

  • 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-06-01T00:46:23+00:00Added an answer on June 1, 2026 at 12:46 am

    That works for me

    SQL> select DBMS_CRYPTO.hash(utl_raw.cast_to_raw('Foo'), 3) FROM dual;
    
    DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW('FOO'),3)
    --------------------------------------------------------------------------------
    201A6B3053CC1422D2C3670B62616221D2290929
    

    Are you sure that the user that is running this has been granted EXECUTE access on both the UTL_RAW and the DBMS_CRYPTO packages? If line 70 of your code is this SELECT statement, I’d wager that column 7 is where the DBMS_CRYPTO call starts and that you don’t have access to 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 know there are ways to send email from terminal in Linux/MacOS, but I
I know there is a registry key indicating the install directory, but I don't
I know there are a lot of positive things mod-rewrite accomplishes. But are there
I know there have been a few threads on this before, but I have
I know there is a function somewhere that will accept a client rect and
I know there are HTML entities for 1/2, 1/4, and 3/4, but are there
I know there are similar questions already on SO but none of them seem
I know there are ways of installing SQL Express from the command line. This
I know there are dozens of questions that ask about this error, but none
I know there are actually a number of questions similar to this one, but

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.