예제 #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;
        }
예제 #2
0
 public void Dispose() {
     _engine = null;
 }