Documentation ¶
Index ¶
- func AESDecrypt(iv []byte, key []byte, ciphertext []byte) []byte
- func AESEncrypt(iv []byte, key []byte, plaintext []byte) []byte
- func AddRecordLayer(input []byte, typ []byte, ver []byte) []byte
- func PeelRecordLayer(data []byte) []byte
- func PsudoRandBytes(length int, seed int64) []byte
- func ReadTLS(conn net.Conn, buffer []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRecordLayer ¶
AddRecordLayer adds record layer to data
func PeelRecordLayer ¶
PeelRecordLayer peels off the record layer
func PsudoRandBytes ¶
PsudoRandBytes returns a byte slice filled with psudorandom bytes generated by the seed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.