Documentation ¶
Index ¶
- Constants
- Variables
- func Generate_RSA_KeyPair(parent_path string, bits int) ([]byte, []byte, error)
- func RSA_Sign(cipher Cryptor, src []byte) (ans []byte, err error)
- func RSA_Verify(cipher Cryptor, src, sig []byte) error
- func Register_Cipher(name string, regfunc regfunchandle, mod int8) bool
- type Cryptor
Constants ¶
View Source
const ( Force = 90 Smart = 91 )
Variables ¶
View Source
var Lack_Args_ERR = fmt.Errorf("lack args")
Functions ¶
func Generate_RSA_KeyPair ¶
generate rsa key pair
func RSA_Verify ¶
func Register_Cipher ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.