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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:16:30+00:00 2026-06-12T18:16:30+00:00

I have an encrypted email id for unsubscribing from abcde.test.com. for ex : https://abcde.test.com/Forms/unSubscribe.jsp?n=2&rid=00028e7353d9c4eca480a579e10ef09b&eid=588876054d458e62779be9345f399252cac7346ad8c464b8ed0bdfbff3512dd96a5b4190c5d71c30c90c34ff39e544aa

  • 0

I have an encrypted email id for unsubscribing from abcde.test.com.

for ex : https://abcde.test.com/Forms/unSubscribe.jsp?n=2&rid=00028e7353d9c4eca480a579e10ef09b&eid=588876054d458e62779be9345f399252cac7346ad8c464b8ed0bdfbff3512dd96a5b4190c5d71c30c90c34ff39e544aa

This is encrypted in aes-256.where eid=”encrypted message” and rid when combined with keysize,and keystr (like “6a6b663472346c38736873346569727538346234333534376635333962353666”) forms the encoded key.

Now I want to decrypt this message.
can any one help me decrypting it?

  • 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-12T18:16:31+00:00Added an answer on June 12, 2026 at 6:16 pm

    Try the following using Java SE and Apache Commons. Please note that you haven’t indicated the mode or padding for your cipher (just “AES”), so you might need to make some adjustments.

    // decode the key string into bytes (using Apache Commons)
    byte[] keyBytes = Hex.decodeHex(keystr.toCharArray());
    
    // create a representation of the key
    SecretKeySpec spec = new SecretKeySpec(keyBytes, "AES");
    
    // turn the key spec into a usable key
    SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("AES");
    SecretKey key = keyFactory.generateSecret(spec);
    
    // use a cipher to decrypt the eid
    Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
    cipher.init(Cipher.DECRYPT_MODE, key);
    byte[] plainText = cipher.doFinal(hex.decodeHex(eid.toCharArray())); // decode from Hex again
    

    I don’t know what type eid represents, so turning that into something concrete is up to you, but here’s an example:

    String eid = new String(plainText, "ASCII");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PFX certificate which I use to read encrypted email in outlook.
I have a pgp-encrypted file that I need to extract data from at runtime.
So I have been having a hard time sending email from my school's email
I have send an Encrypted email to Lotus notes in-box, If I access that
I want to save email accounts and passwords, which I will have previously encrypted
I have some encrypted NSString store in a transformable field. I need to decrypt
I have an encrypted bit of text that I need to decrypt. It's encrypted
If I have the encrypted RAR file, and I also have the unencrypted file,
Hi I have 1000 encrypted workbooks which I would like to decrypt by providing
Let's say I have an encrypted file on an iPhone and every time I

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.