- Where Developers Learn, Share, & Build Careers
Where can I get the PRCA PKCS # 1 V2 implementation in CSIL?
I have found an implementation, but I'm not sure that it fits with that standard.
Can anyone explain key differences between the different implementations of the RSA algorithm, which could be the reason for inconsistency in the operation?
- Privacy ( I.e., public key encryption), or
- the original proof (which is, the digital signature is mixed with a cryptographic hash)
PKCS # 1 Most people refer to RSA-based encryption and signature nowadays. More specifically, PKCS # 1 (2.1) The most recent version defines four different plans:
- PKCS # 1 v1.5 encryption (for purposes of inheritance only, no one should use it anymore) < / Li>
- OAEP encryption (to be preferred for any new implementation)
- PKCS # 1 v1.5 signature
- PSS signature < P> In other words, when you say " RSA PKCS # 1 v 2.1 ", then you can change any of the above schemes Because the library can apply a subset of plans.
The PKCS # 1 standard is actually well-written, so all its proper implementation is in line with each other since all plans are But back to the first cryptographic hash, you must also verify that the people you want to use in the selected library (for example, SHA-256).
I have strongly recommended that the library be seen by the set of test vectors (how many are they and where have they come from)?
However, correct implementation is not necessary safe . In addition to worldly things like buffer overflows, it should verify that the library takes into account all recent attacks aimed at RSA implementation (at least with the most practical). It is difficult to assess for open source libraries, but - you can feel by seeing the size and activity of the community, and whether they will be available as soon as possible.
Open Source C ++ Library is a good choice, such as you can check that they are fast enough for you on the target platform, their license (BSD and public domain respectively) is acceptable, and they Are compatible with your platform.
Comments
Post a Comment