Documentation ¶
Index ¶
- func GenExtRsaKey(bits int) ([]byte, []byte, error)
- func GenRsaKey(bits int) error
- func GetPubkey() (pk []byte)
- func RsaDecrypt(ciphertext []byte) ([]byte, error)
- func RsaDecryptWithKey(ciphertext []byte, aPrivateKeyBytes []byte) ([]byte, error)
- func RsaEncrypt(origData []byte) ([]byte, error)
- func RsaEncryptWithKey(origData []byte, aPublicKeyBytes []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RsaDecryptWithKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.