updated to the same stage than darkID project, but with own blockchain

This commit is contained in:
arnaucode
2018-01-17 23:02:17 +01:00
parent 7734e0926f
commit cc4394265d
39 changed files with 592 additions and 141 deletions

View File

@@ -29,11 +29,13 @@ type RSA struct {
}
type PackRSA struct {
PubK string `json:"pubK"`
PrivK string `json:"privK"`
Date time.Time `json:"date"`
PubKSigned string `json:"pubKSigned"`
Verified bool `json:"verified"`
PubK string `json:"pubK"`
PrivK string `json:"privK"`
Date time.Time `json:"date"`
PubKSigned string `json:"pubKSigned"`
Verified bool `json:"verified"`
UnblindedSig string `json:"unblindedsig"`
BlockchainRef string `json:"blockchainref"`
}
const maxPrime = 500