コード例 #1
0
ファイル: ApiKeyResolver.cs プロジェクト: dekkerb115/Bam.Net
        public string CreateKeyToken(string stringToHash)
        {
            ApiKeyInfo apiKey = this.GetApiKeyInfo(this);

            return("{0}:{1}"._Format(apiKey.ApiKey, stringToHash).Hash(HashAlgorithm));
        }