Documentation ¶ Index ¶ func Decode(data string, pri string) string func Encode(data string, pub string) string func Sign(hashed []byte, pri string) string func Verify(hashed []byte, sign string, pub string) bool type Rsa func Generate() *Rsa Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decode ¶ func Decode(data string, pri string) string func Encode ¶ func Encode(data string, pub string) string func Sign ¶ func Sign(hashed []byte, pri string) string func Verify ¶ func Verify(hashed []byte, sign string, pub string) bool Types ¶ type Rsa ¶ type Rsa struct { Pri string Pub string } func Generate ¶ func Generate() *Rsa Source Files ¶ View all Source files rsa.go Click to show internal directories. Click to hide internal directories.