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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:12:23+00:00 2026-06-05T13:12:23+00:00

The code block that i use is below: SELECT * FROM crypted_tbl WHERE Username=AES_ENCRYPT(‘aydu’,

  • 0

The code block that i use is below:

SELECT * FROM crypted_tbl WHERE Username=AES_ENCRYPT('aydu', 'usa2010');

When i use this command, i get

”`‡œ™uûx“¢Í®i
‘¨åµüÐzêlæZ1­ØÝ
GN“bˆg(ž÷’8

(Username, Password, AuthorizationType)

How can i decrypt full row by using a MySQL command?

  • 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-05T13:12:24+00:00Added an answer on June 5, 2026 at 1:12 pm

    I’m afraid you’re going to have to decrypt each column explicitly rather than trying to decrypt *. If you’re going only with MySQL you’ll have to do:

    SELECT AES_DECRYPT(column1, 'seed'), AES_DECRYPT(column2, 'seed'), etc.
    WHERE Username=AES_ENCRYPT('aydu', 'usa2010');
    

    If you want to build your statement in c# or another platform then you can query the table structure and build the SELECT statement dynamically so that you don’t necessarily have to hard code each column name into the SELECT. Just be aware of the performance hit by querying the table structure before each query.

    SELECT * FROM `information_schema`.`tables`
    WHERE table_name = 'crypted_tbl';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that I have a block of code like this: keysPressed = new
Below is a generalization of a block of code that I keep having to
I have a small code block that should append text to the beg of
I have a code block that checks certain elements before allowing a form to
I have a block of code that serializes a type into a Html tag.
I have a block of code that works great in 32bit, and I'm trying
I have a block of code that worked outside of a function, but not
I got a code that will match a certain block of IP and redirect
I have the following block of jQuery code that I'm using to copy some
I really want to get this out of my head. Please see below code:

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.