dissertation-2-code/crypto/none.go

16 lines
190 B
Go
Raw Normal View History

2020-11-29 22:06:38 +00:00
package crypto
type None struct{}
func (None) CodeLength() int {
return 0
}
func (None) Generate([]byte) []byte {
return nil
}
func (None) Verify([]byte, []byte) error {
return nil
}