示例#1
0
        /// <summary>
        /// 지정된 HashAlgorithm을 이용하는 HashEncryptor를 생성합니다.
        /// </summary>
        /// <param name="algorithm"></param>
        public HashEncryptor(HashAlgorithm algorithm) {
            algorithm.ShouldNotBeNull("algorithm");
            Algorithm = algorithm;

            if(IsDebugEnabled)
                log.Debug("Hash 계산을 위해 HashEncryptor를 생성합니다... Algorithm=[{0}]", algorithm.GetType().FullName);
        }