Missed file
This commit is contained in:
parent
6a5c9e68d7
commit
49d281eb2f
11
Implementation/Samples/mac.go
Normal file
11
Implementation/Samples/mac.go
Normal file
@ -0,0 +1,11 @@
|
||||
package proxy
|
||||
|
||||
type MacGenerator interface {
|
||||
CodeLength() int
|
||||
Generate([]byte) []byte
|
||||
}
|
||||
|
||||
type MacVerifier interface {
|
||||
CodeLength() int
|
||||
Verify(data []byte, sum []byte) error
|
||||
}
|
Loading…
Reference in New Issue
Block a user