Documentation
¶
Index ¶
- type Grain
- type Poseidon
- func (p *Poseidon) BlockSize() int
- func (p *Poseidon) Permute() error
- func (p *Poseidon) PoseidonPerm()
- func (p *Poseidon) Read(n int) []int
- func (p *Poseidon) ReadNoMod(n, posRate int) ([]int, error)
- func (p *Poseidon) ReadUint32(n int) []uint32
- func (p *Poseidon) Reset()
- func (p *Poseidon) Size() int
- func (p *Poseidon) Sum(b []byte) []byte
- func (p *Poseidon) Write(data []byte) (n int, err error)
- func (p *Poseidon) WriteInts(fes []int) error
- func (p *Poseidon) WriteUint32(fes []uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poseidon ¶
type Poseidon struct {
// contains filtered or unexported fields
}
Poseidon structure
func NewPoseidon ¶
NewPoseidon is constructor for Poseidon structure
func (*Poseidon) PoseidonPerm ¶
func (p *Poseidon) PoseidonPerm()
func (*Poseidon) ReadUint32 ¶
func (*Poseidon) WriteUint32 ¶
Click to show internal directories.
Click to hide internal directories.