A Typst package providing some hash functions and related stuff
Go to file
2024-12-23 18:37:34 +01:00
gallery added cover page to manual + header/footer 2024-12-23 14:25:13 +01:00
src added README 2024-12-22 23:05:33 +01:00
gallery.bash improved README banner 2024-12-22 23:31:29 +01:00
LICENSE minor changes for universe publication 2024-12-23 18:37:34 +01:00
manual.pdf minor changes for universe publication 2024-12-23 18:37:34 +01:00
manual.typ minor changes to manual for universe publication 2024-12-23 18:03:54 +01:00
README.md minor changes for universe publication 2024-12-23 18:37:34 +01:00
typst.toml minor changes for universe publication 2024-12-23 18:37:34 +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 "@preview/jumble:0.0.1"
    ...
    #jumble.md5(...)
    
  • import only the functions you need:
    #import "@preview/jumble:0.0.1": md5
    ...
    #md5(...)
    
  • import everything:
    #import "@preview/jumble:0.0.1": *
    ...
    #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)