예제 #1
0
파일: Program.cs 프로젝트: sunshykin/SZDL
 public void DilithiumVerify(PublicKey publicKey, Signature signature)
 {
     Scheme.Verify(publicKey, signature, "Hello");
 }
예제 #2
0
파일: Program.cs 프로젝트: sunshykin/SZDL
 public void DilithiumSign(SecretKey secretKey)
 {
     Scheme.Sign(secretKey, "Hello");
 }
예제 #3
0
파일: Program.cs 프로젝트: sunshykin/SZDL
 public void DilithiumGenerateKeys()
 {
     Scheme.GenerateKeys();
 }
예제 #4
0
파일: Program.cs 프로젝트: sunshykin/SZDL
 public IEnumerable <object> SignArgs()
 {
     Scheme.SetUpMode(DilithiumMode);
     yield return(Scheme.GenerateKeys().Item2);
 }
예제 #5
0
파일: Program.cs 프로젝트: sunshykin/SZDL
 public void GlobalSetup()
 {
     Scheme.SetUpMode(DilithiumMode);
 }