Versions in this module Expand all Collapse all v0 v0.0.0 Aug 20, 2020 Changes in this version + const KEY + type ISecureInt interface + AddWatcher func(obs obs.Observer) + Apply func() ISecureInt + Dec func() ISecureInt + Decrypt func() int + Get func() int + GetSelf func() *SecureInt + Inc func() ISecureInt + IsEquals func(ISecureInt) bool + RandomizeKey func() + Set func(int) ISecureInt + SetKey func(int) + func NewInt(value int) ISecureInt + type ISecureString interface + AddWatcher func(obs obs.Observer) + Apply func() ISecureString + Decrypt func() []rune + Get func() string + GetSelf func() *SecureString + IsEquals func(ISecureString) bool + RandomizeKey func() + Set func(string) ISecureString + SetKey func(int) + func NewString(value string) ISecureString + type SecureInt struct + FakeValue int + HackDetecting bool + Initialized bool + Key int + RealValue int + func (i *SecureInt) AddWatcher(obs obs.Observer) + func (i *SecureInt) Apply() ISecureInt + func (i *SecureInt) Dec() ISecureInt + func (i *SecureInt) Decrypt() int + func (i *SecureInt) Get() int + func (i *SecureInt) GetSelf() *SecureInt + func (i *SecureInt) Inc() ISecureInt + func (i *SecureInt) IsEquals(o ISecureInt) bool + func (i *SecureInt) RandomizeKey() + func (i *SecureInt) Set(value int) ISecureInt + func (i *SecureInt) SetKey(key int) + func (i *SecureInt) XOR(value int, Key int) int + type SecureString struct + FakeValue string + HackDetecting bool + Initialized bool + Key int + RealValue []rune + func (i *SecureString) AddWatcher(obs obs.Observer) + func (i *SecureString) Apply() ISecureString + func (i *SecureString) Decrypt() []rune + func (i *SecureString) Get() string + func (i *SecureString) GetSelf() *SecureString + func (i *SecureString) IsEquals(o ISecureString) bool + func (i *SecureString) RandomizeKey() + func (i *SecureString) Set(value string) ISecureString + func (i *SecureString) SetKey(key int) + func (i *SecureString) XOR(value []rune, key int) []rune