开发者

Is there a standard for threshold (m out of n) cryptosystems?

开发者 https://www.devze.com 2023-03-17 08:07 出处:网络
I\'d like to use a m out of n cryptosystem for storing sensitive data (2 out of 3 to be exact). I\'ve learned from Wikipedia that it\'s called a threshold cryptosystem, but I haven\'t found any practi

I'd like to use a m out of n cryptosystem for storing sensitive data (2 out of 3 to be exact). I've learned from Wikipedia that it's called a threshold cryptosystem, but I haven't found any practical implementations.

For regular public key cryptography we have standards like PEM and开发者_运维百科 implementations like OpenSSL ready to use. Is there something similar for m out of n cryptography? I would like to avoid having to invent my own ways to store (serialize) keys and encrypt them with a password. All of this is trivial to use with OpenSSL. And the worst thing would be relying on some homebrew implementation of a crypto algorithm.

I'm most interested in Python libraries, but I'd like to hear if there is a standard and an implementation in any language.


Well, it's a homebrew implementation, but I think it's pretty good. And it's in Python. Take a look at http://programmingpraxis.com/2011/06/17/adi-shamirs-threshold-scheme/.

0

精彩评论

暂无评论...
验证码 换一张
取 消