Documentation ¶
Index ¶
Constants ¶
View Source
const ( HASHLEN = 32 PRIVATEKEYLEN = 32 PUBLICKEYLEN = 32 SIGNRLEN = 32 SIGNSLEN = 32 SIGNATURELEN = 64 NEGBIGNUMLEN = 33 )
View Source
const (
MaxRandomBytesLength = 2048
)
Variables ¶
This section is empty.
Functions ¶
func RandomBytes ¶
Types ¶
type CryptoAlgSet ¶
type CryptoAlgSet struct { EccParams elliptic.CurveParams Curve elliptic.Curve }
Click to show internal directories.
Click to hide internal directories.