Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ciphers = map[Type]CipherInfo{ CHACHA20_IETF: {32, 12, NewChacha20Ietf}, }
Functions ¶
func EvpBytesToKey ¶
Types ¶
type ChaCha20Ietf ¶
type ChaCha20Ietf struct {
// contains filtered or unexported fields
}
func (*ChaCha20Ietf) IV ¶
func (c *ChaCha20Ietf) IV() []byte
func (*ChaCha20Ietf) InitReader ¶
func (c *ChaCha20Ietf) InitReader(r io.Reader)
func (*ChaCha20Ietf) InitWriter ¶
func (c *ChaCha20Ietf) InitWriter(w io.Writer)
type Cipher ¶
func NewChacha20Ietf ¶
type CipherInfo ¶
Click to show internal directories.
Click to hide internal directories.