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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:29:16+00:00 2026-06-01T21:29:16+00:00

Guys i was given a project (server-side c# sn generator) for whom i have

  • 0

Guys i was given a project (server-side c# sn generator) for whom i have to implement basic licensing system (its more of a test than actual project), however there are requirements:

  1. It must use RSA 2048
  2. It must product human-friendly 16 chars (0-F), separated by 3 dashes (19 symbols in total)

Also the client part is verifying the serial number like this:

VerifyMyKey(p1, p2, p3);

Where:

  • p1 is the xml-encoded public/exponent values
  • p2 is hashed unique user id (in my case the project is using sha1)
  • bp3 is the pretty serial number

Are there any examples for SignData producing number like:

1111-1111-1111-1111

or something like that, because all i get now is base64 encoded string that is working, but its not human-friendly.

Does anyone have any 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-06-01T21:29:18+00:00Added an answer on June 1, 2026 at 9:29 pm

    You mean the signature should be exactly 16 bytes long? That’s not possible with 2048 bit RSA. By definition, the length of one cyphertext block (including a digital signature) is the same as the key size, which is 2048 bits = 256 bytes. RSA works with blocks, it’s not a stream cypher. Anything less won’t decrypt/verify correctly.

    If you want your output be of arbitrary length but consist of 16 hex digits, that’s another matter. RSA outputs data as byte arrays, feel free to represent them as hex digits – two digits per byte. A 2048 bit binary data block would be 512 hex digits long.

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

Sidebar

Related Questions

I have a server-side project which must be developed on .Net platform, but I
I have 2 forms in my visual basic 2010 project. Both are connected with
Guys I have the following structure in my project. application/ Bootstrap.php configs/ application.ini modules/
Hey guys, given a data set in plain text such as the following: ==Events==
Guys, I am using SQL Server 2000 and executing the sp_columns stored procedure to
guys i have arrays in which i have to match this kind of text
Guys, I HAVE tried reading tons of stuff about EJB. And I don't get
Thanks to Stack Overflow and you guys i successfully completed my first project (viz.
Guys i have a little problem, i tried to find some examples on GeoIP
I have a solution with an ASP.NET project and a Class library project where

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.