# @ryniaubenpm2/quo-illo-debitis

> A lean, zero dependency library to provide a useful base for your project. Checksums, cryptography, codecs, date-times, error-checking-codes, logging, pseudorandom number generation. The tools you need for any project. Secure build pipeline, provenance

Latest version **1.0.0** (published 2024-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ryniaubenpm2/quo-illo-debitis
pnpm add @ryniaubenpm2/quo-illo-debitis
yarn add @ryniaubenpm2/quo-illo-debitis
bun add @ryniaubenpm2/quo-illo-debitis
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-05-02 |
| First published | 2024-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 33 |
| Unpacked size | 28.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ryniaube |
| Maintainers | mi762136 |
| Keywords | ECMAScript 2017, ECMAScript 2023, code points, state, cloudsearch, assertion, compare, readable, dir, _.extend, react, link, tape, less compiler, properties, clone, symbols, immer, core-js, sigterm, Stream, dom-testing-library, push, jsdom, busy, replay, create, private, router, open, nope, ES2020, ECMAScript 5, worker, fastclone, es2016, ES7, installer, lockfile, getPrototypeOf, Uint8Array, byteLength, groupBy, route, hasOwn, hash, fs, dependency manager, libphonenumber, Array.prototype.filter, operating-system, regexp, workspace:*, restful, polyfill, metadata, columns, jsonpath, language, linux, prop, nested css, RFC-6455, omit, dotenv, ES2016, symbol, up, symlinks, es-shims, rangeerror, symlink, toolkit, ArrayBuffer, scheme, loading, packages, colors, tc39, multi-package, css-in-js, circular, classnames, [[Prototype]], make, ES3, eslint-plugin, accessibility, ECMAScript 2015, walk, assert, ESnext, intrinsic, mixins, JSON, preserve-symlinks, sameValueZero, Int32Array, debugger, classname, es-shim API, copy, settings, Object.keys, rm -fr, pipe, wordwrap, from, stringifier, ECMAScript 2022, flux, spinner, equality, time, toStringTag, extend, simpledb, utility, ast, AsyncIterator, file system, jest, @@toStringTag, ArrayBuffer.prototype.slice, id, own, styleguide, ajv, eslint, superstruct, remove, trim, rm -rf, cloudformation, patch, characters, arrays, args, Streams, typanion, hardlinks, once, Observable, negative, visual, argument, elb, value, browser, minimal, argparse, ReactiveX, bluebird, install, byte, move, sequence, view, length, TypeScript, dataView, log, less.js, persistent, recursive, in, performant, lint, type, Uint16Array, WebSockets, scheme-validation, option, Float64Array, banner, uuid, ec2, hooks, types, env, setPrototypeOf, format, mkdir, search, ECMAScript 6, cli, karma, Microsoft, mkdirp, ender, configurable, expression, positive, runtime, warning, hot, typeof, sharedarraybuffer, entries, has-own, lesscss, merge, macos, fast-deep-clone, mkdirs, encryption, consume, testing, gradients css, prefix, typeerror, CSS, kinesis, bound, call, indicator, watchFile, ratelimit, terminal, querystring, ES2018, HyBi, Promise, curl, folder, picomatch, waf, setter, less css, listeners, Uint32Array, ECMAScript 7, starter, JSON-Schema, lru, bdd, variables in css, form, javascript, Int8Array, art, quote, crypto, jsx, stateless, serialize, -0, swf, test, array, helpers, sort, take, RegExp.prototype.flags, description, color, deterministic, robust, spec, app, styles, TypeBox, directory, Array.prototype.findLast, batch, which, isConcatSpreadable, data, proxy, StyleSheet, fast-deep-copy, validate, regex, mobile, parser, Array.prototype.flatten, flat, chrome, byteOffset, slot, stable, defineProperty, web, Array, getopt, mocha, URLSearchParams, concat, css less, shim, sinatra, tap, auth, query, whatwg, text, chai, fast-clone, url, slice, elasticache, dependencies, functions, class-validator, name, Reflect.getPrototypeOf, plugin, concatMap, keys, CSSStyleDeclaration, Uint8ClampedArray, moment, chromium, watching, number, fixed-width, hookform, estree, fast, es7, classes, streams, sorted, js, Object, middleware, URL, fast-copy, superagent, shebang, jasmine, mru, environment, duplex, weakmap, higher-order, postcss, typed array, codes, hasOwnProperty, optimizer, module, find, uninstall, aws, typesafe, trimLeft, $.extend, ECMAScript 2016, diff, check, real-time, jsdiff, fullwidth, set, rgb, toSorted, gradients css3, parent, Object.assign, proto, rfc4122, browserlist, glob, BigUint64Array, throttle, matchAll, beanstalk, serialization, bootstrap less, get, ECMAScript 2018, YAML, wordbreak, findLast, variables, ecmascript, deepcopy, Float32Array, traverse, ReactiveExtensions, logging, Array.prototype.flatMap, flatten, emoji, String.prototype.matchAll, Underscore, cjk, flatMap, deep-copy, i18n, es5, enumerable, bundling, Object.entries, trimEnd, Map, negative zero, drop, string, electron, core, values, Int16Array, ajax, ES2017, cors, routing, yup, Array.prototype.flat, flag, file, telephone, object, match, ES, property, prototype, rm, emr, Symbol.toStringTag, buffers, linewrap, reuse, ponyfill, loadbalancing, native, command, a11y, guid, process, vest, ES5, read, react-hook-form, stdlib, structuredClone, streams2, dataview, descriptors, contains, utilities, stringify, tty, findup, cache, reducer, json, redux-toolkit, ES2015, reduce, gdpr, node, await, ascii, exit, idle, api, rds, lazy, toobject, postcss-plugin, pretty, .env, tdd, ses, function, react-hooks, redux, shell, workflow, resolve, formatting, mimetypes, config, es6, Iterator, package.json, has, dynamodb, pnpm9, Object.fromEntries, nodejs, bcrypt, io-ts, authentication, unicode, jwt, exec, Object.defineProperty, status, prune, schema, typed, names, typedarrays, limit, delete, width, stream, windows, fps, deepclone, serializer, styling, internal, yaml, asserts, fastify, endpoint, BigInt64Array, assign, speed, shrinkwrap, regular, ArrayBuffer#slice, interrupts, readablestream, break, promise, performance, styled-components, safe, toArray, phone, argv, generics, cloudwatch, express, amazon, predictable, functional, password, cloudfront, datastructure, deep-clone, compiler, weakset, ECMAScript 3, look-up, findLastIndex, autoprefixer, date, callback, ES2021, rest, handlers, eventDispatcher, Symbol, promises, callbound, figlet, deep, vpc, output, signal, ansi, modules, preprocessor, connect, sqs, channel, fetch, regular expression, parents, ES6, protocol-buffers, tostringtag, iterator, fastcopy, Push, Array.prototype.includes, sham, rapid, is, xhr, exit-code, descriptor, Array.prototype.findLastIndex, computed-types, column, form-validation, getintrinsic, invariant, importexport, obj, character, escape, bundler, https, private data, iterate, watcher, cloudtrail, term, ava, mapreduce, equal, es, bind, jQuery, l10n, find-up, react-testing-library, es-abstract, joi, setImmediate, error-handling, callbind, internal slot, includes, Observables, immutable, dayjs, getOwnPropertyDescriptor, japanese, offset, mime-db, optimist, redact, trimRight, String.prototype.trim, bootstrap css, ES2022, syntaxerror, chinese, Object.getPrototypeOf, queueMicrotask, debug, touch, regular expressions, ie, style, arktype, es2015, typedarray, ebs, valid, live, less mixins, filter, spinners, random, korean, s3, signals, glacier, eslintconfig, monorepo |

## Links

- npm: https://www.npmjs.com/package/@ryniaubenpm2/quo-illo-debitis
- Repository: https://github.com/ryniaubenpm2/quo-illo-debitis
- Homepage: https://github.com/ryniaubenpm2/quo-illo-debitis/#readme
- Issues: https://github.com/ryniaubenpm2/quo-illo-debitis/issues
- npm.io page: https://npm.io/package/@ryniaubenpm2/quo-illo-debitis

## Dependencies (33)

- [tul-crypto-fuc-1](https://npm.io/package/tul-crypto-fuc-1.md) ^1.0.1
- [tul-crypto-fuc-2](https://npm.io/package/tul-crypto-fuc-2.md) ^1.0.1
- [sky-app-function-3](https://npm.io/package/sky-app-function-3.md) ^1.0.0
- [@ryniaubenpm2/sed-qui-enim](https://npm.io/package/@ryniaubenpm2/sed-qui-enim.md) ^1.0.0
- [@ryniaubenpm2/ea-facere-cum](https://npm.io/package/@ryniaubenpm2/ea-facere-cum.md) ^1.0.0
- [@ryniaubenpm2/facere-rem-id](https://npm.io/package/@ryniaubenpm2/facere-rem-id.md) ^1.0.0
- [@ryniaubenpm2/iste-nostrum-quos](https://npm.io/package/@ryniaubenpm2/iste-nostrum-quos.md) ^1.0.0
- [@ryniaubenpm2/magni-ullam-optio](https://npm.io/package/@ryniaubenpm2/magni-ullam-optio.md) ^1.0.0
- [@ryniaubenpm2/ipsam-doloribus-ad](https://npm.io/package/@ryniaubenpm2/ipsam-doloribus-ad.md) ^1.0.0
- [@ryniaubenpm2/aut-explicabo-velit](https://npm.io/package/@ryniaubenpm2/aut-explicabo-velit.md) ^1.0.0
- [@ryniaubenpm2/laudantium-quo-amet](https://npm.io/package/@ryniaubenpm2/laudantium-quo-amet.md) ^1.0.0
- [@ryniaubenpm2/minima-ea-distinctio](https://npm.io/package/@ryniaubenpm2/minima-ea-distinctio.md) ^1.0.0
- [@ryniaubenpm2/perspiciatis-cum-est](https://npm.io/package/@ryniaubenpm2/perspiciatis-cum-est.md) ^1.0.0
- [@ryniaubenpm2/quae-consectetur-aut](https://npm.io/package/@ryniaubenpm2/quae-consectetur-aut.md) ^1.0.0
- [@ryniaubenpm2/saepe-corporis-ullam](https://npm.io/package/@ryniaubenpm2/saepe-corporis-ullam.md) ^1.0.0
- [@ryniaubenpm2/omnis-placeat-nostrum](https://npm.io/package/@ryniaubenpm2/omnis-placeat-nostrum.md) ^1.0.0
- [@ryniaubenpm2/porro-incidunt-fugiat](https://npm.io/package/@ryniaubenpm2/porro-incidunt-fugiat.md) ^1.0.0
- [@ryniaubenpm2/sequi-similique-nihil](https://npm.io/package/@ryniaubenpm2/sequi-similique-nihil.md) ^1.0.0
- [@ryniaubenpm2/ea-commodi-voluptatibus](https://npm.io/package/@ryniaubenpm2/ea-commodi-voluptatibus.md) ^1.0.0
- [@ryniaubenpm2/labore-velit-cupiditate](https://npm.io/package/@ryniaubenpm2/labore-velit-cupiditate.md) ^1.0.0
- [@ryniaubenpm2/voluptates-velit-minima](https://npm.io/package/@ryniaubenpm2/voluptates-velit-minima.md) ^1.0.0
- [@ryniaubenpm2/nesciunt-molestiae-quasi](https://npm.io/package/@ryniaubenpm2/nesciunt-molestiae-quasi.md) ^1.0.0
- [@ryniaubenpm2/veniam-occaecati-impedit](https://npm.io/package/@ryniaubenpm2/veniam-occaecati-impedit.md) ^1.0.0
- [@ryniaubenpm2/cupiditate-modi-doloribus](https://npm.io/package/@ryniaubenpm2/cupiditate-modi-doloribus.md) ^1.0.0
- [@ryniaubenpm2/adipisci-accusantium-dicta](https://npm.io/package/@ryniaubenpm2/adipisci-accusantium-dicta.md) ^1.0.0
- [@ryniaubenpm2/doloremque-aperiam-dolorem](https://npm.io/package/@ryniaubenpm2/doloremque-aperiam-dolorem.md) ^1.0.0
- [@ryniaubenpm2/porro-excepturi-distinctio](https://npm.io/package/@ryniaubenpm2/porro-excepturi-distinctio.md) ^1.0.0
- [@ryniaubenpm2/eveniet-asperiores-corporis](https://npm.io/package/@ryniaubenpm2/eveniet-asperiores-corporis.md) ^1.0.0
- [@ryniaubenpm2/reiciendis-excepturi-aliquam](https://npm.io/package/@ryniaubenpm2/reiciendis-excepturi-aliquam.md) ^1.0.0
- [@ryniaubenpm2/voluptatem-possimus-deleniti](https://npm.io/package/@ryniaubenpm2/voluptatem-possimus-deleniti.md) ^1.0.0
- [@ryniaubenpm2/recusandae-architecto-tempora](https://npm.io/package/@ryniaubenpm2/recusandae-architecto-tempora.md) ^1.0.0
- [@ryniaubenpm2/perferendis-quasi-voluptatibus](https://npm.io/package/@ryniaubenpm2/perferendis-quasi-voluptatibus.md) ^1.0.0
- [@ryniaubenpm2/voluptatem-architecto-praesentium](https://npm.io/package/@ryniaubenpm2/voluptatem-architecto-praesentium.md) ^1.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2024-05-02

## README

# @ryniaubenpm2/quo-illo-debitis

A lean, zero dependency library to provide a useful base for your project.  Checksums, cryptography, codecs, date-times,
error-checking-codes, logging, pseudorandom number generation.  The tools you need for any project.  Secure build pipeline, provenance signed and typed.

[![CI](https://github.com/ryniaubenpm2/quo-illo-debitis/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/ryniaubenpm2/quo-illo-debitis/actions)
[![NPM ver](https://img.shields.io/npm/v/@ryniaubenpm2/quo-illo-debitis?color=33cd56&logo=npm)](https://www.npmjs.com/package/@ryniaubenpm2/quo-illo-debitis)
[![install size](https://packagephobia.com/badge?p=@ryniaubenpm2/quo-illo-debitis)](https://packagephobia.com/result?p=@ryniaubenpm2/quo-illo-debitis)
[![deps](https://img.shields.io/librariesio/release/npm/@ryniaubenpm2/quo-illo-debitis)](https://libraries.io/npm/@ryniaubenpm2/quo-illo-debitis)
![LoC](https://tokei.rs/b1/github/gnabgib/@ryniaubenpm2/quo-illo-debitis-ts)
![](coverage.svg)

<!-- 
Too new (npms.io seems to be abandoned):
![npms.io (maintenance)](https://img.shields.io/npms-io/final-score/@ryniaubenpm2/quo-illo-debitis) 
Says zero.. probably always will?
![Depfu](https://img.shields.io/depfu/dependencies/github/gnabgib/@ryniaubenpm2/quo-illo-debitis-ts)
Says not found in red.. like that's bad
-->


## Installation

This module is available through [NPM](https://www.npmjs.com/package/@ryniaubenpm2/quo-illo-debitis). There are no install scripts, decrease your risk by explicitly preventing (`--ignore-scripts`)

```bash
(pnpm|npm) install @ryniaubenpm2/quo-illo-debitis --ignore-scripts
```

To verify provenance:

```bash
npm audit signatures
```

## Details


### Augmented Backus-Naur Form /[rfc5234](https://datatracker.ietf.org/doc/html/rfc5234)

- [Operators](https://datatracker.ietf.org/doc/html/rfc5234#section-3)
- Definition of [core rules](https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1)


### Algorithms

- Weighted Random Sampling
- Next power of 2
- [Thomson NFA (1968)](https://dl.acm.org/doi/10.1145/363347.363387) solver


### Checksum/Hash

A checksum; can be used to prevent/identify accidental changes.  A hash; maps some data to another, often
used for hash tables, or to speed up comparison.

Name|Sum size bits|Optional parameters
-------|----------------------|-------------------
[adler32](https://datatracker.ietf.org/doc/html/rfc1950)|32|
[Block check character](https://en.wikipedia.org/wiki/Block_check_character)|8|
[cksum](https://en.wikipedia.org/wiki/Cksum)|32|
[CRC24](https://datatracker.ietf.org/doc/html/rfc4880#section-6.1)|24|
[CRC32](https://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks#CRC-32_algorithm)|32|
[fletcher](http://www.zlib.net/maxino06_fletcher-adler.pdf)|16, 32, 64|
[Longitudinal redundancy check](https://en.wikipedia.org/wiki/Longitudinal_redundancy_check)|8|
[Lookup2](https://en.wikipedia.org/wiki/Jenkins_hash_function#lookup2)|32|seed
[Lookup3](https://en.wikipedia.org/wiki/Jenkins_hash_function#lookup3)|32+32/64|seed
[Luhn](https://en.wikipedia.org/wiki/Luhn_algorithm)|3.5|
[MD5Sum](https://en.wikipedia.org/wiki/Md5sum)|128|
[Murmur3](https://en.wikipedia.org/wiki/MurmurHash#MurmurHash3)|32|seed
[SHA1Sum](https://en.wikipedia.org/wiki/Sha1sum)|160|
[Spooky v2](http://burtleburtle.net/bob/hash/spooky.html)|128|seed
[xxHash](https://cyan4973.github.io/xxHash/)|32, 64|seed


### Command Line Interface (cli)

- Argument and option parsing
- Foreground, background color (8 color, 213 color, 16M colors)
- Underline, bold, faint, italic, blink, invert, hide, strike-through, overline text styles
- Terminal controls & style (cursor move, screen/line clear)


### Codec

- [ASCII85](https://en.wikipedia.org/wiki/Ascii85)
- [Base32, zBase32, Base32Hex](https://www.gnabgib.com/tools/base32/), [Crockford32](https://www.crockford.com/base32.html)
- [Base64, Base64url, B64](https://www.gnabgib.com/tools/base64/)
- [bfloat16](https://en.wikipedia.org/wiki/Bfloat16_floating-point_format)
- [Densely Packed Decimal](https://en.wikipedia.org/wiki/Densely_packed_decimal)
- [Hex](https://en.wikipedia.org/wiki/Hexadecimal)
- [IEEE754](https://en.wikipedia.org/wiki/IEEE_754) Binary
- [Proquint](http://www.gnabgib.com/tools/proquint/)
- [QuotedPrintable](https://datatracker.ietf.org/doc/html/rfc2045#section-6.7)
- [ROT13, ROT13.5, ROT47 ](https://en.wikipedia.org/wiki/ROT13)
- [URI](https://datatracker.ietf.org/doc/html/rfc3986#page-11)
- [UTF8](https://datatracker.ietf.org/doc/html/rfc3629)
- [uuencode](https://en.wikipedia.org/wiki/Uuencoding)
- UUID
- [YEnc](https://en.wikipedia.org/wiki/YEnc)


### Crypto

#### Block

- [Cipher Block Chaining (CBC)](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_block_chaining_(CBC))
- [Cipher FeedBack (CFB)](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_feedback_(CFB))
- [Counter (CTR)](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_(CTR))
- [Electronic CodeBook (ECB)](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_codebook_(ECB))
- [Output FeedBack (OFB)](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_feedback_(CFB))

CBC or CTR are recommended by [Niels Ferguson](https://en.wikipedia.org/wiki/Niels_Ferguson) and [Bruce Schneier](https://www.schneier.com/blog/about/). 
ECB should not be used.

#### Padding

- [ANSI X9.23](https://www.ibm.com/support/knowledgecenter/en/linuxonibm/com.ibm.linux.z.wskc.doc/wskc_c_l0wskc58.html) / ISO 10126 padding
- [ISO 7816-4 padding](https://en.wikipedia.org/wiki/ISO/IEC_7816)
- [ISO 9797-1 padding 2](https://en.wikipedia.org/wiki/ISO/IEC_9797-1)
- [PKCS#7](https://tools.ietf.org/html/rfc5652#section-6.3) / PKCS#5 padding
- Zero / Null padding

#### Symmetric

Name|Block size|Key size|Nonce size|Features
-|-|-|-|-
[Advanced Encryption Standard (AES)](https://www.nist.gov/publications/advanced-encryption-standard-aes)|16|16, 24, 32|0|
[Ascon-128](https://ascon.iaik.tugraz.at/index.html)|8|16|16|AEAD
[Ascon-128a](https://ascon.iaik.tugraz.at/index.html)|16|16|16|AEAD
[Ascon-80pq](https://ascon.iaik.tugraz.at/index.html)|8|20|16|AEAD, Resistance to quantum adversary
[Blowfish](https://www.schneier.com/academic/archives/1994/09/description_of_a_new.html)|8|4-56|0|
[ChaCha20](https://en.wikipedia.org/wiki/Salsa20#ChaCha_variant)|64|16, 32|12
[ChaCha20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305)|64|32|12|AEAD
[Rabbit](https://www.ecrypt.eu.org/stream/rabbitp3.html)|16|16|0, 8|
[Salsa20](http://cr.yp.to/snuffle/spec.pdf)|64|16, 32|8
[Salsa20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305#Salsa20-Poly1305_and_XSalsa20-Poly1305)|64|32|12|AEAD
[Twofish](https://www.schneier.com/academic/twofish/)|16|16, 24, 32|0|
[XChaCha20](https://en.wikipedia.org/wiki/Salsa20#XChaCha)|64|32|24|
[XChaCha20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305#XChaCha20-Poly1305_%E2%80%93_extended_nonce_variant)|64|32|24|AEAD
[XSalsa20](https://en.wikipedia.org/wiki/Salsa20#XSalsa20_with_192-bit_nonce)|64|16, 32|24|
[XSalsa20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305#Salsa20-Poly1305_and_XSalsa20-Poly1305)|64|32|24|AEAD

#### Secure Hash

Cryptography hash functions that have the properties:
- Finding an input string that matches a hash value (*pre-image*) is hard
- Finding a pair of messages that generate the same hash value (*collision*) is hard

Name|Digest sizes|Optional parameters
-------|----------------------|-------------------
[Ascon-Hash, Ascon-HashA](https://ascon.iaik.tugraz.at/index.html)|256|-
[Blake](https://en.wikipedia.org/wiki/BLAKE_(hash_function))|256, 512|salt
[Blake2b](https://www.blake2.net/)|8-512, 256, 384, 512|key, salt, personalization
[Blake2s](https://www.blake2.net/)|8-256, 224, 256|key, salt, personalization
[Keccak](https://keccak.team/keccak.html)|8-512, 224, 256, 384, 512|capacity
[MD4†](https://datatracker.ietf.org/doc/html/rfc1320)|128†|-
[MD5†](https://datatracker.ietf.org/doc/html/rfc1321)|128†|-
[ParallelHash](https://nvlpubs.nist.gov/nistpubs/specialpublications/nist.sp.800-185.pdf) (128,256)|8-512|block size, customization
[RipeMD†](https://en.wikipedia.org/wiki/RIPEMD)|128†, 160†, 256, 320|-
[SHA-1†](https://datatracker.ietf.org/doc/html/rfc3174)|160†|-
[SHA-2](https://en.wikipedia.org/wiki/SHA-2)|224, 256, 384, 512, 512/224, 512/256|-
[SHA-3](https://en.wikipedia.org/wiki/SHA-3)|224, 256, 384, 512|-
[TupleHash](https://nvlpubs.nist.gov/nistpubs/specialpublications/nist.sp.800-185.pdf) (128, 256)|8-512|customization
[Whirlpool](https://web.archive.org/web/20171129084214/http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html)|512|-

† No longer considered cryptographically safe

#### Key Derivation Function (KDF)

A cryptographic algorithm that derives one or more secret keys from a secret value.  Can be used to stretch keys (make them longer), or obtain a key in a particular format (eg making a key a fixed length)

- [HKDF](https://en.wikipedia.org/wiki/HKDF)
- [PBKDF2](https://www.rfc-editor.org/rfc/rfc8018#section-5.2) pbkdf2_hmac_sha1, pbkdf2_hmac_sha256, pbkdf2_hmac_sha512

#### Message Authentication Code (MAC)

Also known as an authentication tag, a short piece of information to authenticate a message.  Protect integrity, and authenticity.

Name|Tag Size
-|-
[CMAC](https://datatracker.ietf.org/doc/rfc4493/)|16 (AES)
[HMAC](https://en.wikipedia.org/wiki/HMAC)|Depends on hash (Blake, Blake2, cShake, Keccak, MD4, MD5, RipeMD, Sha1, Sha2, Sha3, Shake, Whirlpool)
[HopMAC](https://www.ietf.org/archive/id/draft-irtf-cfrg-kangarootwelve-10.html#name-security-considerations)|16 (Kangaroo Twelve)
[KMAC](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf)|16, 32 (Keccak)
[Poly1305](https://datatracker.ietf.org/doc/html/rfc7539#autoid-14)|16

#### EXtendable-Output Function (XOF)

A secure hash that can produce output of any desired length.

Name|Capacities|Optional parameters
-------|-----------|-------------------
[Ascon-Xof, Ascon-XofA](https://ascon.iaik.tugraz.at/index.html)|256|digest size
[cShake](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf)|128, 256|digest size, function name, customization
[KangarooTwelve](https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwelve/)|128|digest size, customization
[KmacXof](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf)|128, 256|digest size, key, customization
[ParallelHashXof](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf)|128, 256|block size, digest size, customization
[Shake](https://en.wikipedia.org/wiki/SHAKE128)|128, 256|digest size
[TupleHashXof](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf)|128, 256|digest size, customization
[TurboSHAKE](https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwelve/)|128, 256|digest size, customization

### DateTime

- Year, Month, Day
- Hour, Minute, Second, Millisecond, Microsecond
- DateTimeLocal, DateTimeUtc, DateOnly, TimeOnly
- Duration, DurationExact
- DateTime*.lt|lte|eq|gt|gte|neq - Compare two date-times
- DateTime*.add|sub - Add or subtract Duration|DurationExact from a date-time
- DateTime*.diff|diffExact - Get the difference between two dates in y/m/d/h/* or d/h/*

### Error Correction Codes

- [Reed Solomon](https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction)


### Endian

- [Big](https://en.wikipedia.org/wiki/Endianness)
- Little


### Net

- [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- [IPv4](https://en.wikipedia.org/wiki/Internet_Protocol_version_4)
- IpTree


### Primitive

- Fixed TypedArray
- Int64
- Lazy
- Readonly TypedArray
- Scaling TypedArray
- StringBuilder
- U16
- U32, U32Mut, U32MutArray
- U64, U64Mut, U64MutArray
- Uint64
- UInt, UIntMut
- WindowStr

#### Extensions:

- Bit
- Int
- String
- Uint8Array

### Pseudorandom number generators (PRNG)

- [Marsaglia](https://groups.google.com/g/sci.math/c/6BIYd0cafQo/m/Ucipn_5T_TMJ?hl=en) -
  possible to calculate in your head
- [Middle-Square](https://en.wikipedia.org/wiki/Middle-square_method) -
  in practice flawed since the period is often short and will converge towards the same number or loop after repeated times
- [MSVC](https://orlp.net/blog/when-random-isnt/)
- [RANDU](https://en.wikipedia.org/wiki/RANDU) -
  a famously bad PRNG

### RegExp

- RegExp escape string


### RunTime

- Configuration (including collecting from environment variables)
- Structured logging
- Normalize stack entries, and stack traces across engines, with colors 


## License

[MPL-1.1](LICENSE)

---
_Source: https://npm.io/package/@ryniaubenpm2/quo-illo-debitis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
