In some legacy code, I encountered RSA signature padding in the following format (hexadecimal):

0B BB BB BB BB BB BB ... BB BB <hash>

Is there a name for this simple type of RSA padding? I would think that the original developers got this design from something.

  • 7
    $\begingroup$ This looks vaguely similar to ANSI X9.31 padding, except that the first byte in X9.31 padding is 6B instead of 0B, and the last one is BA. $\endgroup$ – Ilmari Karonen Jun 14 '16 at 23:39
  • 3
    $\begingroup$ Although I don't know the background of the legacy code, I think you could well be assuming too much. $\endgroup$ – Maarten Bodewes Jun 15 '16 at 9:44

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.