feat: add Size function to PublicKey
This allows us to determine the size of signatures produced by a public key. Incidentally, this also allows us to determine the size of an RSA key's modulus.
Showing
... | @@ -4,3 +4,5 @@ require ( | ... | @@ -4,3 +4,5 @@ require ( |
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 | github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 | ||
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb // indirect | golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb // indirect | ||
) | ) | ||
go 1.12 |
Please register or sign in to comment