Files
moxa/_test/method10.go
2019-05-01 16:40:21 +02:00

18 lines
209 B
Go

package main
const BlockSize = 8
type Cipher struct{}
func (c *Cipher) BlockSize() int { return BlockSize }
func main() {
println(BlockSize)
s := Cipher{}
println(s.BlockSize())
}
// Output:
// 8
// 8