Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cipher ¶
type Cipher[T Unsigned] struct { // contains filtered or unexported fields }
Network, Cipher
func (*Cipher[T]) Decrypt ¶
func (p *Cipher[T]) Decrypt(b *RoundBlock[T])
func (*Cipher[T]) Encrypt ¶
func (p *Cipher[T]) Encrypt(b *RoundBlock[T])
type RoundBlock ¶
type RoundBlock[T Unsigned] struct { L, R T }
func (*RoundBlock[T]) Swap ¶
func (p *RoundBlock[T]) Swap()
type Unsigned ¶
type Unsigned = constraints.Unsigned
Click to show internal directories.
Click to hide internal directories.