Documentation
¶
Index ¶
- func ByteSlicesArrayToByteSlices(byteSlicesArray [][]byte) []byte
- func ChkErr(err error)
- func CreateChecksum(content *[]byte) string
- func DecryptRSA(privateKey *rsa.PrivateKey, contentEncrypted *[]byte) ([]byte, error)
- func EncryptRSA(publicKey *rsa.PublicKey, content *[]byte) ([]byte, error)
- func GenRSAKeyPair(bits int) (rsa.PublicKey, rsa.PrivateKey)
- func ReadStr(filePath string) string
- func Size(filePath string) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChecksum ¶
func DecryptRSA ¶
func DecryptRSA(privateKey *rsa.PrivateKey, contentEncrypted *[]byte) ([]byte, error)
func GenRSAKeyPair ¶
func GenRSAKeyPair(bits int) (rsa.PublicKey, rsa.PrivateKey)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.