用于 SHA256/SHA512 散列的 Excel 基于公式的函数,无需 VBA 或宏 [英] Excel formula-based function for SHA256 / SHA512 hashing without VBA or macros

查看:88
本文介绍了用于 SHA256/SHA512 散列的 Excel 基于公式的函数,无需 VBA 或宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在是 2017 年,如果安全很重要,任何需要使用哈希的人都应该避免使用 MD5 等损坏"的哈希.有没有人找到或创造了一种在 Excel 中进行更安全的 SHA256 或 SHA512 散列而不使用 VBA 或宏的方法?

It's the year 2017 and anybody who needs to use hashes should avoid 'broken' ones such as MD5, if security is important. Has anybody found or created a way to do more secure SHA256 or SHA512 hashing in Excel, without using VBA or macros?

3.5 年前使用 MD5 完成此操作的一个壮观示例(如在此 SO 中所示:excel 中的 MD5 哈希函数不使用 VBA).

A spectacular example of this being done before was over 3½ years ago with MD5 (as seen in this SO: MD5 Hash function in excel without using VBA).

避免使用 VBA/宏的原因:与移动设备的兼容性,例如 iOS 版 Excel.

Reason for avoiding VBA/Macros: Compatibility with mobile devices, such as Excel for iOS.

旁注:原来的 Stack Overflow 帖子有一个带有死链接的成功答案,这里有一个新链接供参考:https://tzamtzis.gr/2017/web-analytics/excel-function-md5-hashing-without-vba/

Side Note: The original Stack Overflow post has a successful answer with a dead link, here is a new link for reference: https://tzamtzis.gr/2017/web-analytics/excel-function-md5-hashing-without-vba/

推荐答案

我有一个.限制为 55 个字符,并且设计更多用于教育目的(即如何了解 SHA256 在 Excel 中的工作方式......?).

I've got one. Limits to 55 characters and designed more for educational purposes (i.e. how to see how SHA256 works in Excel....?).

回顾...

  • 没有 VBA.
  • 没有命名范围.
  • 没有数组.
  • 使用 2007 年及更高版本的标准 Excel 函数.
  • 格式为 *.xlsx

从 OneDrive 下载

从 Google Drive 下载

这篇关于用于 SHA256/SHA512 散列的 Excel 基于公式的函数,无需 VBA 或宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆