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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:53:27+00:00 2026-06-05T11:53:27+00:00

The problem is encryption in server side they are using ISO10126d2Padding and decryption is

  • 0

The problem is encryption in server side they are using ISO10126d2Padding and decryption is happening but after decryption it is showing some junk values anyone please help remove that :

ACTUAL RESULT = india ismy
*DECRYPTED VALUE = India ismyg~²t

  • 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-05T11:53:29+00:00Added an answer on June 5, 2026 at 11:53 am

    I will not say that this is the best way to remove unwanted characters from NSString but i did this … and it is great.

    NSString * str = @"your string";
    NSMutableString * newString;
    int j = [str length];
    for (int i=0; i<j; i++) {       
        if (([str characterAtIndex:i] >=65 && [str characterAtIndex:i] <=90) || ([str characterAtIndex:i] >=97 && [str characterAtIndex:i] <=122) ||[str characterAtIndex:i] == 32 ) {
            [newString appendFormat:@"%c",[str characterAtIndex:i]];
        }               
    }
    
    //([str characterAtIndex:i] >=65 && [str characterAtIndex:i] <=90) this is ASCII limit for A-Z
    //([str characterAtIndex:i] >=97 && [str characterAtIndex:i] <=122) this is ASCII limit for a-z
    //and [str characterAtIndex:i] == 32 is for space.
    

    Now, print new string

    NSLog(@"%@",newString);
    

    let me know if it is woking for you!

    Thank You!

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

Sidebar

Related Questions

I've got a problem scenario w.r.t data cyphering or encryption/decryption in SQL Server 2005.
I have a problem with AES encryption and the customer showed me their PHP
Problem: I have a table that prints out vertical but I would like it
Problem: I am trying to build a recursive tree using a function and data
Problem: I'm streaming my video from a php file with stream_get_contents(); using Flowplayer as
I'm trying to perform encryption and decryption (Rijndael 256, ecb mode) in two different
I'm developing a RESTful API for a client. The problem is, he's using a
I have an iPhone application I've been using for some time that uses ASIHTTPRequest
I'm trying to use the Chilkat encryption library in SQL Server 2008 via a
I don't have a good knowledge of SSL principles, but just want the encryption

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.