Documentation ¶
Index ¶
- func SHA1DirectBinVerifier(data []bool, hash []bool) bool
- type DataConfidenceCollection
- func (d *DataConfidenceCollection) Add(bit bool, bitConfidence float64)
- func (d *DataConfidenceCollection) AddRedundantCollection(redundant *DataConfidenceCollection)
- func (d *DataConfidenceCollection) Append(appendage *DataConfidenceCollection)
- func (d *DataConfidenceCollection) CorrectData(hash *DataConfidenceCollection, hashValidated bool) bool
- func (d *DataConfidenceCollection) CorrectDataWithRedundancy()
- func (d DataConfidenceCollection) Data() []bool
- func (d *DataConfidenceCollection) Deinterleave()
- func (d DataConfidenceCollection) Get(index int) (bool, float64)
- func (d DataConfidenceCollection) LeastConfidentBitIndexes(number int) []int
- func (d DataConfidenceCollection) Length() int
- func (d *DataConfidenceCollection) Slice(leftEnd, length int) *DataConfidenceCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SHA1DirectBinVerifier ¶
Types ¶
type DataConfidenceCollection ¶
type DataConfidenceCollection struct { HashVerifier func(data []bool, hash []bool) bool // contains filtered or unexported fields }
func (*DataConfidenceCollection) Add ¶
func (d *DataConfidenceCollection) Add(bit bool, bitConfidence float64)
func (*DataConfidenceCollection) AddRedundantCollection ¶
func (d *DataConfidenceCollection) AddRedundantCollection(redundant *DataConfidenceCollection)
func (*DataConfidenceCollection) Append ¶
func (d *DataConfidenceCollection) Append(appendage *DataConfidenceCollection)
func (*DataConfidenceCollection) CorrectData ¶
func (d *DataConfidenceCollection) CorrectData(hash *DataConfidenceCollection, hashValidated bool) bool
func (*DataConfidenceCollection) CorrectDataWithRedundancy ¶
func (d *DataConfidenceCollection) CorrectDataWithRedundancy()
func (DataConfidenceCollection) Data ¶
func (d DataConfidenceCollection) Data() []bool
func (*DataConfidenceCollection) Deinterleave ¶
func (d *DataConfidenceCollection) Deinterleave()
func (DataConfidenceCollection) Get ¶
func (d DataConfidenceCollection) Get(index int) (bool, float64)
func (DataConfidenceCollection) LeastConfidentBitIndexes ¶
func (d DataConfidenceCollection) LeastConfidentBitIndexes(number int) []int
func (DataConfidenceCollection) Length ¶
func (d DataConfidenceCollection) Length() int
func (*DataConfidenceCollection) Slice ¶
func (d *DataConfidenceCollection) Slice(leftEnd, length int) *DataConfidenceCollection
Click to show internal directories.
Click to hide internal directories.