@0xc/invisihash 中文文档教程
invisihash
使用 SHA-256 等流行算法生成零宽度(呈现)散列。
examples
import { hash } from "@0xc/invisihash";
const someValue = JSON.stringify(arguments);
const output = hash(someValue, "sha384");
默认算法是 sha256
并且不需要通过
hash("hello world");
why does this even exist
Confluence 需要唯一的标题并允许 unicode 所以 ??????????????
invisihash
generate a zero-width (rendered) hash with popular algorithms such as SHA-256.
examples
import { hash } from "@0xc/invisihash";
const someValue = JSON.stringify(arguments);
const output = hash(someValue, "sha384");
the default algorithm is sha256
and is not required to be passed
hash("hello world");
why does this even exist
Confluence requires unique titles and allows unicode so ????????????