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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:24:27+00:00 2026-06-09T18:24:27+00:00

I have a requirement to sign a tiny amount of data (and store that

  • 0

I have a requirement to sign a tiny amount of data (and store that signature in a similar tiny space) – standard PKCS signatures are way too big, I need something in the region of an 8 – 16 byte signature. Secondly I need it to be an asymmetric crypto, and thirdly, I need it to be relativly secure (not breakable in 5 minutes with todays computers).

I was hoping to:

  1. Produce a hash of the data using a CRC algorithm (either CRC32 or CRC64) which would produce me 4 or 8 bytes of hash data.
  2. Then encrypt that data with a private key, and append the results on the end.

Using RSA encryption however, RSA produces an output which is as long as the key minimum – so a 512 RSA key would produce 64 bytes of data. What other options are there?

EDIT: By asymetric crypto I mean I can’t have any shared-secret, i.e. there is a signing ‘server’ which is going to have one secret, and a distributed public application which needs to verify that the data has come from that origin so can’t contain the signing secret.

  • 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-09T18:24:29+00:00Added an answer on June 9, 2026 at 6:24 pm

    I don’t think your requirements are obtainable. The closest you can get is probably with Elliptic Curve’s but even then you would get an output of say 192 / 8 * 2 = 48 bytes minimum. With a 160 bit curve you could get that down to 40 bytes, but after that the security margin becomes too low. This answer previously mentioned point compression, but that can probably not be used.

    You are much better off using a secure hash and then using only the first X bits, instead of using a non-secure hash such as CRC. With ECC 160 bits SHA-1 is the obvious choice, for such small parts of data SHA-1 will be strong enough. The idea of a secure hash is that nobody can create another message that maps to the same hash. This is not a property for functions such as CRC or Adler.

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

Sidebar

Related Questions

In our project we have requirement that, after receiving sms message from third party
I have the requirement to build a asp.net sign up form which will allow
i have requirement to store the regex in flat file and read them.There will
I have a requirement to generate an email to administrator whenever a user sign
I have the requirement that the end user should not be able to go
When we deploy our products using OEM we have a requirement that our company
I have a requirement to clean a string for illegal barcode-39 data and change
I have requirement where some times I would like to load children as well
I have requirement to disable copy/paste/cut operations on a textbox. For this purpose I
I have requirement, wherein I have to calculate totals for cash and credit cards

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.