diff options
Diffstat (limited to 'back-end/src/Model/PostManager.cs')
-rw-r--r-- | back-end/src/Model/PostManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/back-end/src/Model/PostManager.cs b/back-end/src/Model/PostManager.cs index 64f09b2..c626375 100644 --- a/back-end/src/Model/PostManager.cs +++ b/back-end/src/Model/PostManager.cs @@ -233,7 +233,7 @@ namespace Content.Publishing.Blog.Admin.Model */ static void ComputePostId(PostMeta post) { - post.Id = ManagedHash.ComputeHexHash($"{post.Title}.{post.Author}.{post.Summary}.{post.Date}", HashAlg.SHA1).ToLowerInvariant(); + post.Id = ManagedHash.ComputeHash($"{post.Title}.{post.Author}.{post.Summary}.{post.Date}", HashAlg.SHA1, HashEncodingMode.Hexadecimal).ToLowerInvariant(); } internal record class ReqLogger(ILogProvider Log) : IRequestLogger |