dissertation-2-code/crypto/none.go
Jake Hillion 5066f8a823
All checks were successful
continuous-integration/drone/push Build is passing
Security start
2020-11-29 22:06:38 +00:00

16 lines
190 B
Go

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
}