Add new constant: STANDARD_HASH for sha256 Deprecate DEFAULT_HASH is now STANDARD_HASH_SHORT Deprecated __sha1Short: replace with __crc32b with the default parameter use_sha false replace with sha1Short if use_sha is true __hash: replace with hashShort if default hash type replace with hash for all others with new default STANDARD_HASH __hashLong: replace with hashLong New: hashShort: returns STANDARD_HASH_SHORT which is __hash default type hashStd: returns STANDARD_HASH sha256 hash: switches to STANDARD_HASH as default type
2.5 KiB
2.5 KiB