go-bls icon indicating copy to clipboard operation
go-bls copied to clipboard

How to store the key pair struct locally?

Open ShallMate opened this issue 4 years ago • 0 comments

I tried to use gob serialization to store the generated key locally, but structures with private members, such as System and PublicKey, forbid me to do so. So I capitalized the first letter of their members, but I still got an error, as follows: gob: type main._Ctype_struct_field_s has no exported fields How can I store the generated key pair locally?

ShallMate avatar Jul 24 '20 10:07 ShallMate