A Typst package providing some hash functions and related stuff
Go to file
2024-12-22 23:05:33 +01:00
gallery added README 2024-12-22 23:05:33 +01:00
src added README 2024-12-22 23:05:33 +01:00
gallery.bash added README 2024-12-22 23:05:33 +01:00
manual.pdf added totp 2024-12-22 02:00:37 +01:00
manual.typ added ntlm + utf-16le conversion 2024-12-22 01:10:33 +01:00
README.md added README 2024-12-22 23:05:33 +01:00
typst.toml added README 2024-12-22 23:05:33 +01:00

Banner

Jumble is Typst package providing some common hashing functions, as well as other related algorithms.

Available methods

  • MD4
  • MD5
  • SHA1
  • HMAC
  • NTLM
  • TOTP
  • Base32 encoding / decoding

Usage

For information, please refer to the manual

To use this package, you can either:

  • import the package as a module:
    #import "jumble/src/lib.typ" as jumble
    ...
    #jumble.md5(...)
    
  • import the functions you need from src/lib.typ:
    #import "jumble/src/lib.typ": md5
    ...
    #md5(...)
    
  • import everything:
    #import "jumble/src/lib.typ": *
    ...
    #md5(...)
    

Examples

Typst Result
#bytes-to-hex(ntlm("Bellevue"))
f59d0692bf73b6381e85902a476f097b
#bytes-to-hex(md4("Hello World!"))
b2a5cc34fc21a764ae2fad94d56fadf6

(more documentation and examples are provided in the manual)