Ejemplo n.º 1
0
        /// <summary>
        /// AriaEngine을 빌드하고 반환합니다.
        /// </summary>
        /// <returns></returns>
        private AriaEngine GetEngine() {
            if(_engine == null) {
                SetupKey();

                _engine = new AriaEngine(KeySize);
                _engine.SetKey(Key);
                _engine.SetupRoundKeys();
            }

            return _engine;
        }
Ejemplo n.º 2
0
 public void Dispose() {
     _engine = null;
 }