Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

What is the ASN.1 OID associated to bcrypt (the key derivation scheme)?

For instance, PBKDF2 has 1.2.840.113549.1.5.12 and it is therefore possible to store a private key in a PKCS#8 structure, encrypted with a password. Is that possible with bcrypt?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

According to http://www.oid-info.com/ bcrypt has no official OID. You could register a private enterprise number with IANA and assign your own OID for your purpose. But that's going to make interaction with 3rd party application more complicated.

Or you could use PBKDF2 instead of bcrypt. PBKDF2 is a public-key cryptography standards. Libraries such as OpenSSL implement PKCS #5 and therefore provide HMAC-based PBKDF2. The algorithm provides about the same amount of security as bcrypt.

share|improve this answer
1  
OpenSS $\mapsto$ OpenSSL $\:$ ? $\;\;\;$ –  Ricky Demer Sep 1 '13 at 2:23
1  
Yes, OpenSSL. Thanks for the hint. I have fixed my typo. –  Tiran Sep 2 '13 at 20:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.