blowfish - v0.1.0
    Preparing search index...

    blowfish - v0.1.0

    @li0ard/blowfish
    Blowfish cipher implementation in pure TypeScript
    docs




    # from NPM
    npm i @li0ard/blowfish

    # from JSR
    bunx jsr i @li0ard/blowfish
    • Provides simple and modern API
    • Most of the APIs are strictly typed
    • Fully complies with FIPS 46-3 standard
    • Supports Bun, Node.js, Deno, Browsers
    import { Blowfish } from "@li0ard/blowfish";

    const cipher = new Blowfish(new Uint8Array(8));
    const encrypted = cipher.encrypt(new Uint8Array(8));
    console.log(encrypted); // Uint8Array [ ... ]

    const decrypted = cipher.decrypt(encrypted);
    console.log(decrypted); // Uint8Array [ ... ]