func (opts *WtnOpts) SetNonce(nonce []byte) {
	copy(opts.nonce, nonce)
}
SetNonce sets the nonce for this WtnOpts
package winternitz
import (
	"crypto/rand"
)
type WtnOpts struct {
	addr  address
	nonce []byte
}
func NewWtnOpts(securityLevel uint32) *WtnOpts {
	nonce := make([]byte, securityLevel)
	if _, err := rand.Read(nonce); nil != err {
		return nil
	}
	return &WtnOpts{newAddress(), nonce}
}
func (opts *WtnOpts) Clone() *WtnOpts {
	optsC := new(WtnOpts)
	if nil != opts.addr {
		addr := make([]byte, opts.addr.Len())
		copy(addr, []byte(opts.addr))
		optsC.addr = addr
	}
	if nil != opts.nonce {
		optsC.nonce = make([]byte, len(opts.nonce))
		copy(optsC.nonce, opts.nonce)
	}
	return optsC
}
func (opts *WtnOpts) SetKeyIdx(i uint32) {
	opts.addr.setKeyIdx(i)
}