Skip to content

샤미르 비밀 분할

비밀을 N개의 조각으로 분할하여 임의의 K개 조각으로 복원할 수 있지만, K개 미만으로는 아무 정보도 얻지 못합니다. GF(256) 위의 샤미르 임계값 기법에 기반합니다.

Privacy & Security
cosmodev ~/tools/secret-sharing-

Web Crypto로 100% 브라우저에서 실행돼요 - 비밀과 셰어는 기기를 떠나지 않아요.

Send to AI
Write a Python implementation of Shamir's Secret Sharing over GF(256) that interoperates with these share strings: each share is the two-digit hex x-coordinate, a dash, then one hex byte per secret byte (e.g. "01-a3b2c1"). It must split a secret into 5 shares with threshold 3, and reconstruct from any 3 of them. Use the AES reduction polynomial 0x11B and rejection-free crypto-random coefficients.