@li0ard/gost - v0.1.4
    Preparing search index...

    @li0ard/gost - v0.1.4

    @li0ard/gost
    GOST cryptography algorithms in pure TypeScript
    docs




    npm i @li0ard/gost
    
    • Curves and DSA (GOST R 34.10-2001 and GOST R 34.10-2012)
      • VKO key agreement function
      • Points conversion from Weierstrass to Twisted Edwards form and vice versa
    • GOST R 34.11-94 hash function
      • Supports HMAC and PBKDF2
    • Kuznyechik cipher (GOST R 34.12-2015)
    • Magma cipher (GOST R 34.12-2015)
      • Supports legacy version from GOST 28147-89
    • Streebog hash function (GOST R 34.11-2012)
      • Supports HMAC, PBKDF2 (512 bit), kdf_gostr3411_2012_256, kdf_tree_gostr3411_2012_256 and CPKDF
    • Cipher Block Chaining mode (CBC)
    • Cipher Feedback mode (CFB)
    • Counter mode (CTR)
      • Supports legacy version for GOST 28147-89 (CNT) and Counter with Advance Cryptographic Prolongation of Key Material (CTR-ACPKM)
    • Electronic Codebook mode (ECB)
    • Message Authentication Code mode (MAC)
      • Supports legacy version for GOST 28147-89 and MAC with Advance Cryptographic Prolongation of Key Material (OMAC-ACPKM)
    • Multilinear Galois mode (MGM)
    • Output Feedback mode (OFB)
    • Key wrapping:
      • Modern key wrapping with KExp15/KImp15
      • Legacy key wrapping for GOST 28147-89 (KWP) with CryptoPro key derivation