Documentation ¶
Index ¶
- type Crypto
- func (c *Crypto) BlockSize() int
- func (c *Crypto) CloneCipher() *Crypto
- func (c *Crypto) Construct(l int) error
- func (c *Crypto) Decrypt(dst, src []byte)
- func (c *Crypto) Encrypt(dst, src []byte)
- func (c *Crypto) Pad()
- func (c *Crypto) Read(p []byte) (n int, err error)
- func (c *Crypto) Reset()
- func (c *Crypto) Size() int
- func (c *Crypto) Sum(b []byte) []byte
- func (c *Crypto) Write(p []byte) (n int, err error)
- type Decrypter
- type Encrypter
- type Mac
- type PiCrypto
- func (c *PiCrypto) BlockSize() int
- func (c *PiCrypto) CloneCipher() *PiCrypto
- func (c *PiCrypto) Construct(l int) error
- func (c *PiCrypto) Decrypt(dst, src []byte)
- func (c *PiCrypto) Encrypt(dst, src []byte)
- func (c *PiCrypto) Pad()
- func (c *PiCrypto) Read(p []byte) (n int, err error)
- func (c *PiCrypto) Reset()
- func (c *PiCrypto) Size() int
- func (c *PiCrypto) Sum(b []byte) []byte
- func (c *PiCrypto) Write(p []byte) (n int, err error)
- type PiDecrypter
- type PiEncrypter
- type PiMac
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypto ¶
An orthogonal implementation of the Sponge-Construction using the Core208() function of the salsa20 cipher.
func (*Crypto) CloneCipher ¶
type PiCrypto ¶
An orthogonal implementation of the Sponge-Construction using the π-function from the π-Cipher https://aezoo.compute.dtu.dk/doku.php?id=%CF%80-cipher
func (*PiCrypto) CloneCipher ¶
type PiDecrypter ¶
type PiDecrypter struct {
PiCrypto
}
func (*PiDecrypter) XORKeyStream ¶
func (c *PiDecrypter) XORKeyStream(dst, src []byte)
type PiEncrypter ¶
type PiEncrypter struct {
PiCrypto
}
func (*PiEncrypter) XORKeyStream ¶
func (c *PiEncrypter) XORKeyStream(dst, src []byte)
Click to show internal directories.
Click to hide internal directories.