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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:33:55+00:00 2026-05-25T17:33:55+00:00

I have a system which is receiving around 15 million records every day (in

  • 0

I have a system which is receiving around 15 million records every day (in separate files each file has around 150K records) . the system will convert these files from binary to ascii and then will feed the data into multiple downstream systems .
there is a new requirement now that we have to encrypt one of the fields (lets call it Field A) in each record , fieldA’s length is always between 6 to 10 digits .

1.the encryption should be done in a way that the result will only
contain printable characters

2.the performance is very important here

3.we have other fields in each record which can be used as encryption/decryption keys like date time but there is no guarantee that these other fields are unique (which should not be important).

4.other downstream systems should be able to decode the result using a key (I’m very new to data encryption but I think this key is called private key) .

5.I’ve read different articles about SALTing , do you think that SALTing can be of any use in our scenario here ?

what do you think is the best encryption algorithm for me to use here ? does .net framework provide implementation of this algorithm ?

  • 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-25T17:33:55+00:00Added an answer on May 25, 2026 at 5:33 pm

    You have two separate issues here:

    • Choice of an appropriate encryption algorithm for your security requirements.
    • Representation of the result as a printable string.

    The latter is easy: use Convert.ToBase64String(byte[]). All the encryption algorithms I know of work in terms of binary data, so you’ll need to convert your input into binary first (e.g. using Encoding.UTF8.GetBytes(text)), then encrypt, then convert back to text using Convert.ToBase64String. Decrypting is a matter of using Convert.FromBase64String, then applying the decryption binary-to-binary algorithm, then reversing your original conversion (e.g. Encoding.UTF8.GetString(binary)).

    You haven’t really given enough information to determine which encryption algorithm you should use – whether it should be symmetric or asymmetric, for example – but salting is usually involved in one-way hashes, not reversible encryption. A similar concept in terms of initialization vectors applies to several encryption algorithms though.

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

Sidebar

Related Questions

I have a system which is receiving log files from different places through http
I have a System.Data.DataTable which is populated by reading a CSV file which sets
I have a file with the following structure: system.action.webMessage=An error has happened during web
I have a system which contains multiple applications connected together using JMS and Spring
I have a system which receives leads (they are piped in via email) and
Currently we have a system which we paid for that pushes information into Excel
I need suggestion about YAMI library . I have a system which receives Json
I have a remote embedded system which it is telnet-able. How can I download
I have to build up a system which listens for requests from a GPS
Say I have a couple of java runtime environments running on my system which

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.