コード例 #1
0
ファイル: HashCash.cs プロジェクト: jackullrich/EmulateMe
        public byte[] EncryptWithSolution(byte[] buffer)
        {
            if (solution == null)
            {
                throw new NullReferenceException();
            }

            return(encryptionAlgorithm.Encrypt(buffer, hashAlgorithm.ComputeHash(solution)));
        }