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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:53:38+00:00 2026-05-13T16:53:38+00:00

I have a project which requires encryption of customer ids. The encrypted value is

  • 0

I have a project which requires encryption of customer ids. The encrypted value is used as a query string value for a website which then returns a personalized form for completion.

The problem I’m having is that the website we are working with has a security policy which disallows non-alphanumeric characters from a query string.

I’m currently trying to get confirmation of exactly which characters are being blocked, but the ideal solution would be to use an encryption algorithm which returns an alphanumeric string.

I haven’t found any such algorithm in the System.Security.Cryptography namespace yet – evidently because the key size is generally 64bit or some multiple of – but I’m hoping that such an algorithm is available.

The only alternative at this stage is to swap out whichever characters are deemed illegal with other allowable characters, however I don’t think I’m going to have enough allowable characters for this to work.

Does anything have any experience with this or suggestions on how to proceed?

  • 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-13T16:53:39+00:00Added an answer on May 13, 2026 at 4:53 pm

    You just need to create a reversible mapping between arbitrary bytes (the output of the encryption algorithm) and characters in your allowable set.

    Base64 works like this – it encodes arbitrary binary into characters in the set [A-Za-z0-9+/] (which is almost exactly what you want, with the addition of + and /). You could potentially use Base64 encoding, then replace + and / with two other “allowed characters”, if there are any (perhaps - and _?).

    There should be existing Base64 encoding and decoding functions available in your language.

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

Sidebar

Related Questions

I'm starting a project which requires reading outlook msg files in c#. I have
I have a project which is source controlled using Subversion and VisualSVN. Since the
I have C++ project (VS2005) which includes header file with version number in #define
I have a Rails project which I neglected to build tests for (for shame!)
I have a Rails project which has a Postgres database for the actual application
We have a git project which has quite a big history. Specifically, early in
I have a new project which simply put, is an attempt to formalize the
I have a Silverlight Project which passes data using the Data Contract to a
I have a .NET project which references another assembly that is built outside of
I am fairly new to MySQL and have a project in which I need

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.