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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:55:53+00:00 2026-05-15T01:55:53+00:00

When I use some of php’s encryption functions, I end up getting a few

  • 0

When I use some of php’s encryption functions, I end up getting a few characters I don’t want (+, /, =). The problem is that my application doesn’t allow these in the url. I’m wondering if there’s a good way of encrypting an integer and having only alphanumeric characters in the result? I’m trying to pass some data through the url. I know it’s possible to do some workarounds (put data in database and pass the id to the row or something), but I really want to try it this way.

Ideas?

  • 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-15T01:55:54+00:00Added an answer on May 15, 2026 at 1:55 am

    I would rethink your problem. You never, ever want to pass sensitive data in the URL query. There is already a mechanism for collecting sensitive data over the web – it’s called SSL. If you need to get sensitive data from the user, accept it as POST data and use SSL.

    If you absolutely must do this (don’t), you would do it by base64’ing the encrypted message and being very careful about key safety.

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

Sidebar

Related Questions

Hi have some forms that I want to use some basic php validation (regular
I noticed that some PHP frameworks use exclusively lowercase true / false and others
I'm having a problem with some PHP code I'm trying to use. I keep
I am learning to use json_decode . I want to try out some php
I have a project that's intended to use some PHP as well as Java
I've seen some PHP applications use lines of code that are like this: throw
I could use some help on this problem. I'm creating an application using Symfony2
I want to use some php to make simple header/footer files for my webpages.
Is it possible to somehow use some of the PHP classes that come with
I would like to use some kind of BB code for a php application:

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.