Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChaCha20Stream ¶
type ChaCha20Stream struct {
// contains filtered or unexported fields
}
func NewChaCha20Stream ¶
func NewChaCha20Stream(key []byte, nonce []byte, rounds int) *ChaCha20Stream
func (*ChaCha20Stream) XORKeyStream ¶
func (s *ChaCha20Stream) XORKeyStream(dst, src []byte)
Click to show internal directories.
Click to hide internal directories.