strumok - v0.1.1
    Preparing search index...

    strumok - v0.1.1

    @li0ard/strumok
    Strumok (DSTU 8845:2019) cipher implementation in pure TypeScript
    docs




    # from NPM
    npm i @li0ard/strumok

    # from JSR
    bunx jsr i @li0ard/strumok
    • [x] Strumok-256
    • [x] Strumok-512
    • Provides simple and modern API
    • Most of the APIs are strictly typed
    • Fully complies with DSTU 8845:2019 standard
    • Supports Bun, Node.js, Deno, Browsers
    import { Strumok } from "@li0ard/kupyna"

    const key = new Uint8Array(64).fill(0xaa)
    const iv = new Uint8Array(32).fill(0xbb)
    const data = new Uint8Array(256).fill(0xcc);

    const cipher = new Strumok(key, iv);
    console.log(cipher.crypt(data)) // Uint8Array [...]