xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 3KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-17
  • 語言: Matlab
  • 標簽: 未分類??

資源簡介

matlab開發-ShamirsSecretSharing。沙米爾的秘密共享方案,也被稱為(k,n)閾值,在這個文件中實現。

資源截圖

代碼片段和文件信息

%--------------------------------------------------------------------------
%?Shamir‘s?Secret?Sharing?Demo
%?By?Yue?Wu
%?ywu03@ece.tufts.edu
%?01/10/2010
%--------------------------------------------------------------------------

clear?all
close?all
clc

s?=?-1234.5;?%?the?secret?number
k?=?3;?%?the?number?of?pieces?of?info?which?are?sufficient?for?reconstruction
n?=?6;?%?total?number?of?pieces?of?info
d?=?ShamirSharing(skn);?%?generate?pieces?of?info?parts
c?=?d(3:5:);?%?collect?3?pieces?of?info
r?=?ShamirReconstruction(ck);?%?reconstruct?secret?info

display([‘the?secret?info?is?‘?num2str(s)])
display([‘the?used?info?is:‘])
display(c);
display([‘reconstruction?is?‘?num2str(r)])


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????718??2011-01-10?11:04??Demo.m
?????文件????????1581??2011-01-10?11:03??ShamirReconstruction.m
?????文件????????1601??2011-01-10?11:03??ShamirSharing.m
?????文件????????1306??2014-02-12?13:22??license.txt

評論

共有 條評論