func (encoder *Encoder) GetArchitecture() int {
	return encoder.architecture
}
GetArchitecture returns the encoder architecture
package sgn
import (
	"encoding/binary"
	"errors"
	"fmt"
	"math/bits"
	"math/rand"
	"strings"
	"github.com/olekukonko/tablewriter"
)
var OPERANDS = []string{"XOR", "SUB", "ADD", "ROL", "ROR", "NOT"}
type SCHEMA []struct {
	OP  string
	Key []byte
}
type Encoder struct {
	architecture     int
	ObfuscationLimit int
	PlainDecoder     bool
	Seed             byte
	EncodingCount    int
	SaveRegisters    bool
}
func NewEncoder() *Encoder {
	var encoder Encoder
	encoder.architecture = 32
	encoder.ObfuscationLimit = 50
	encoder.PlainDecoder = false
	encoder.Seed = GetRandomByte()
	encoder.EncodingCount = 1
	encoder.SaveRegisters = false
	return &encoder
}
func (encoder *Encoder) SetArchitecture(arch int) error {
	switch arch {
	case 32:
		encoder.architecture = 32
	case 64:
		encoder.architecture = 64
	default:
		return errors.New("invalid architecture")
	}
	return nil
}